杨博 (Yang Bo)
杨博 (Yang Bo)
杨博 (Yang Bo)
杨博 (Yang Bo)
A keyword for creating monadic control flow.
A keyword for creating monadic control flow.
Monadic should be a scala.AnyVal after https://github.com/scala/bug/issues/10595 is resolved.
com.thoughtworks.dsl.domains.scalaz for using this Monadic keyword with scalaz.Monad.
com.thoughtworks.dsl.domains.cats for using this Monadic keyword with cats.Monad.
杨博 (Yang Bo)
杨博 (Yang Bo)
This Yield
keyword must be put inside a function that returns Stream[Element]
or Stream[Element] !! ...
,
or it will not compile.
"def f(): Unit = !Yield(1)" shouldNot compile
Contains built-in domain-specific Keywords and their corresponding interpreters.