Closed nikhedonia closed 5 years ago
current api requires you to write:
Maybe<int> maybeMeaningOfLife(int x) { if(x<0) return maybe(); // none; would be better return maybe(42); }
I've opened an PR for it: https://github.com/LoopPerfect/neither/pull/20
current api requires you to write: