Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xuwei-k/iarray
scalaz friendly immutable Array, NonEmptyArray
https://github.com/xuwei-k/iarray
data-structures scala scalaz
Last synced: 18 days ago
JSON representation
scalaz friendly immutable Array, NonEmptyArray
- Host: GitHub
- URL: https://github.com/xuwei-k/iarray
- Owner: xuwei-k
- License: mit
- Created: 2014-01-17T11:18:20.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2024-04-30T02:13:03.000Z (6 months ago)
- Last Synced: 2024-05-02T00:15:12.825Z (6 months ago)
- Topics: data-structures, scala, scalaz
- Language: Scala
- Homepage: https://javadoc-badge.appspot.com/com.github.xuwei-k/iarray_2.12/iarray/index.html?javadocio=true
- Size: 483 KB
- Stars: 12
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# IArray
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.xuwei-k/iarray_2.12/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.github.xuwei-k/iarray_2.12)
[![scaladoc](https://javadoc.io/badge2/com.github.xuwei-k/iarray_2.13/javadoc.svg)](https://javadoc.io/doc/com.github.xuwei-k/iarray_2.13/latest/iarray/index.html)`IArray` is an Immutable Array wrapper for Scala. This library does __NOT__ use [scala.reflect.ClassTag](https://github.com/scala/scala/blob/v2.12.13/src/library/scala/reflect/ClassTag.scala)
[`scalaz.ImmutableArray`](https://github.com/scalaz/scalaz/blob/v7.3.3/core/src/main/scala/scalaz/ImmutableArray.scala) and [`scala.Array`](https://github.com/scala/scala/blob/v2.12.13/src/library/scala/Array.scala) could __NOT__ be [`scalaz.Functor`](https://github.com/scalaz/scalaz/blob/v7.3.3/core/src/main/scala/scalaz/Functor.scala).
On the other hand `IArray` can be [`scalaz.Functor`](https://github.com/scalaz/scalaz/blob/v7.3.3/core/src/main/scala/scalaz/Functor.scala), [`scalaz.Monad`](https://github.com/scalaz/scalaz/blob/v7.3.3/core/src/main/scala/scalaz/Monad.scala), [`scalaz.Traverse`](https://github.com/scalaz/scalaz/blob/v7.3.3/core/src/main/scala/scalaz/Traverse.scala) etc.`IArray` __always boxing__ primitive values in return for provide an abstraction(scalaz typeclasses).
- [Maven Central Repository Search](https://search.maven.org/search?q=g:com.github.xuwei-k)
- [Maven Central](https://repo1.maven.org/maven2/com/github/xuwei-k/)### latest stable version
```scala
libraryDependencies += "com.github.xuwei-k" %% "iarray" % "0.7.1"
```for scala-js, scala-native
```scala
libraryDependencies += "com.github.xuwei-k" %%% "iarray" % "0.7.1"
```- [API Documentation](https://oss.sonatype.org/service/local/repositories/releases/archive/com/github/xuwei-k/iarray_2.12/0.7.1/iarray_2.12-0.7.1-javadoc.jar/!/iarray/IArray.html)