A mini Scala utility library. Compatible with functional programming beginners. For the JVM and Scala.js.
Currently, Hamsters supports :
-
Monad transformers
-
Enum typeclass
-
Either additional operations (accumulate errors)
-
mapN
-
Lenses
-
Future squash operations
-
Default values for options (orEmpty)
-
NonEmptyList
-
Show
-
Memoization
-
Retry
-
List the children of a sealed trait
libraryDependencies ++= Seq(
"io.github.scala-hamsters" %% "hamsters" % "3.0.0"
)
For Scala.js :
libraryDependencies ++= Seq(
"io.github.scala-hamsters" %%% "hamsters" % "3.0.0"
)
See hamsters-extensions for more information.
You can find the API documentation here.
To Laurence Beillaux who created the Hamsters logo.