Fabian Schmitthenner

Results 6 comments of Fabian Schmitthenner

removed the `asInstanceOf`. The other points remain valid though.

Using cats would also solve the problem that `flatMap (x => code)` can be used again since we won't have two `flatMap` functions anymore. Checking laws with cats might also...

I don't understand your examples at all, what programming language are they even in and why should z be 2?

arg sorry, I somehow got linked here from nix and thought I'm still in the nix thread...

see also https://github.com/lihaoyi/scala.rx for inspiration, the `Rx { code }` syntax is similiar to this feaure