[erlang-questions] When to return {ok, Value} or just the Value

Steve Davis <>
Tue Nov 15 01:35:48 CET 2011


Interesting post, Gianfranco.
What would be a simple example of using such an approach for a
function coded up in Erlang?
Regs,Steve
On Nov 14, 1:14 pm, Gianfranco Alongi <>
wrote:> For those who find themselves writing case-ladders, look into
monads> from haskell and draw upon the power of the sequencer idea.



More information about the erlang-questions mailing list