Scala snippets (ZIO, Cats, Slinky, Akka Streams)
I write this snippets as memory aid, but maybe it can be useful for someone else :)
Change delimiter in a ZIO Stream
Example, group/split by lines :
Accumulate errors with Either and Cats
Based on Cats documentation but with Error ADT and NonEmptyChain
Slinky React Hooks example
Akka Streams : Consume a source with two sinks and get the result of one sink
Akka Streams and Play Framework : add elements to a source dynamically, using a queue
comments powered by Disqus