3 ms·
That doesn't do quite the same thing; the original example gets rid of the Maybe, defaulting to 0.
by zenhack 9y ago
That doesn't do quite the same thing; the original example gets rid of the Maybe, defaulting to 0.
- masklinn 9y ago> That doesn't do quite the same thing You're missing the point entirely. > the original example gets rid of the Maybe, defaulting to 0. http://hackage.haskell.org/package/base-4.10.1.0/docs/Data-Maybe.html#v:fromMaybe http://hackage.haskell.org/package/base-4.10.1.0/docs/Data-M...