from Scala snippets with Typelevel libs1 month agoThe ' Functional programming in Scala' book (aka ' the red book') defines a state transformation as a function with this signature: Read at Scala snippets with Typelevel libs[ Collection ][| ... ]