4 ms·
> whereas in languages with less strict type systems, almost everything is a 'Maybe' I don't know Haskell(I do know F#), so help me with this: How is everythin
by irahul 14y ago
> whereas in languages with less strict type systems, almost everything is a 'Maybe'
I don't know Haskell(I do know F#), so help me with this: How is everything not a Maybe in Haskell? In the languages I know, when you return an object from a method, (it can throw an Exception or return null) or return a valid val. When it throws an Exception, there is no Maybe, or else it's a Maybe. How is it any different in Haskell.