Skip to content

notflorian/hamsters

 
 

Repository files navigation

Hamsters

A mini Scala utility library. Compatible with functional programming beginners. For the JVM and Scala.js.

Hamster logo

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

Install as dependency

libraryDependencies ++= Seq(
  "io.github.scala-hamsters" %% "hamsters" % "3.0.0"
)

For Scala.js :

libraryDependencies ++= Seq(
  "io.github.scala-hamsters" %%% "hamsters" % "3.0.0"
)

Extensions

See hamsters-extensions for more information.

Scaladoc

You can find the API documentation here.

Special thanks

To Laurence Beillaux who created the Hamsters logo.

About

A mini Scala utility library

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Scala 100.0%