weihsiu / bengal

A less than minimal functional library in the spirit of cats in Scala 3.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bengal: Dotty Cats

This projects is just some code I put together to teach myself Scala 3 syntax. It tries to mimic the functioanlities of functional libraries like cats/scalaz. It is by no means complete or will it ever be. Try it at your own peril.

  • under the "instances" package, type classes are implemented in the Scala 2 style
  • under the "delegates" package, type classes are implemented using local coherence (much better)

How to play with it

  1. install Visual Studio Code
  2. make sure 'code'(the VSCode executable) is in the execution path
  3. git clone shapess-3 repo and publish it locally
  4. git clone this repo and cd to it
  5. sbt launchIDE

About

A less than minimal functional library in the spirit of cats in Scala 3.


Languages

Language:Scala 100.0%