Skip to content
المشاريع

حول

A mini Scala utility library

أدوات التطوير

كيف تُقاس هذه الأرقام

النمو المقاس للنجوم

خلال 24 ساعة
٠
خلال 7 أيام
٠
خلال 15 يومًا
؜-١
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

Hamsters

CI Maven Central

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

It may help you understand how to use - and how to implement (looking at the code) - some popular functional programming features. Il also provides some useful utilities.

Hamsters is built for Scala 3 (3.3.x LTS) and cross-compiled for the JVM and Scala.js. The LTS line keeps it usable from Scala 2.13 projects thanks to TASTY/binary compatibility.

Hamster logo

Currently, Hamsters supports :

  • Data validation

  • Default values for options (orEmpty)

  • Enum typeclass

  • Future Squash (simplifications for nested types)

  • Lens

  • mapN

  • Memoization

  • Monad transformers

  • NonEmptyList

  • Retry

  • Show (better toString)

Install as dependency

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

For Scala.js :

libraryDependencies ++= Seq(
  "io.github.scala-hamsters" %%% "hamsters" % "4.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.

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…