[Haskell-cafe] Re: Simple Fudgets-question

Thomas Hallgren hallgren at cse.ogi.edu
Mon Jan 26 14:23:22 EST 2004

Henrik Berg wrote:

>I can't find any function in the Fudgets-library to do this:
>(F a b) -> (F a (a, b))
>... All I want to do is to resend the input out on the output.
If that is all you want, this combinator is the right choice:

	throughF :: F a b -> F a (Either b a)

Thomas H

More information about the Haskell-Cafe mailing list