3 ms·That depends on the language. Haskell provides some nice syntax here with monads.by panopticon 6y agoThat depends on the language. Haskell provides some nice syntax here with monads.