[Haskell-cafe] Re: Simple Fudgets-question

2004-01-26 Thread Henrik Berg
Thomas Hallgren [EMAIL PROTECTED] writes: Henrik Berg wrote: Hi! 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:

[Haskell-cafe] Re: Simple Fudgets-question

2004-01-26 Thread Thomas Hallgren
Henrik Berg wrote: Thomas Hallgren [EMAIL PROTECTED] writes: ... 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) Yes, but (Either b a) won't give me the input _together_