xuwei-k / iarray   0.7.1

MIT License GitHub

scalaz friendly immutable Array, NonEmptyArray

Scala versions: 3.x 2.13 2.12 2.11
Scala.js versions: 1.x
Scala Native versions: 0.5 0.4

IArray

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.7.1"

for scala-js, scala-native

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