xuwei-k / iarray

scalaz friendly immutable Array, NonEmptyArray

Website GitHub


Build Status Maven Central Scaladoc

IArray is an Immutable Array wrapper for Scala. This library does NOT use scala.reflect.ClassTag

scalaz.ImmutableArray and scala.Array could NOT be scalaz.Functor. On the other hand IArray can be scalaz.Functor, scalaz.Monad, scalaz.Traverse etc.

IArray always boxing primitive values in return for provide an abstraction(scalaz typeclasses).

latest stable version

libraryDependencies += "com.github.xuwei-k" %% "iarray" % "0.5.0"

for scala-js, scala-native

libraryDependencies += "com.github.xuwei-k" %%% "iarray" % "0.5.0"

for Scalaz 7.1.x

I'm not good at English. Documentation pull requests are welcome.