[Haskell-cafe] Are there standard idioms for lazy, pure error handling?

Jason McCarty jmccarty at sent.com
Fri Dec 4 13:14:23 EST 2009


wren ng thornton wrote:

>     concat1 :: T a b -> (b -> T a b) -> T a b

This could just as easily be

  concat :: T a b -> (b -> T a c) -> T a c

right? It's a little weird to call this concatenation, but I bet it
could come in handy.

-- 
Jason McCarty <jmccarty at sent.com>


More information about the Haskell-Cafe mailing list