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

wren ng thornton wren at freegeek.org
Sat Dec 5 00:13:27 EST 2009


Jason McCarty wrote:
> 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.

Er right, that's what I meant. (Again the posting without enough coffee 
to pave over the cognitive potholes </chagrin>)

-- 
Live well,
~wren


More information about the Haskell-Cafe mailing list