the code I write...
Mar. 18th, 2014 04:38 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
type NoResult = Result[Nothing]
case object Empty extends NoResult with NoGood[Nothing] {
...
As a side-effect, have to use this famous type,
(_:_)
.onError((_:_) => savePage())
type NoResult = Result[Nothing]
case object Empty extends NoResult with NoGood[Nothing] {
...
(_:_)
.onError((_:_) => savePage())