3 ms·
That's actually a problem in Erlang. In Haskell, 'Maybe (Maybe Int)' is a different type from 'Maybe Int'. That means that when you use eg a hash table that r
by eru 5y ago
That's actually a problem in Erlang.
In Haskell, 'Maybe (Maybe Int)' is a different type from 'Maybe Int'.
That means that when you use eg a hash table that returns some kind null value like 'Nothing' on lookup when a key is not found, you can still stick exactly that kind of null value as a normal value into the table and everything will turn out fine.