Fwd: Re: Adding dup to Data.Tuple?

Forgot to CC the list. -------- Forwarded Message -------- Hi, One place where it pops up all the time is when you have arrows that create feedback loops and your output is your accumulator. For example: feedback acc0 (someFancyArrow >>> arr dup) Where someFancyArrow is an arrow with two inputs (input and old accumulator) and one output. Cheers Ivan On 28/10/18 00:08, Vanessa McHale wrote:
Out of curiosity, do you have any examples?
Cheers
On 10/27/18 5:03 PM, Ivan Perez wrote:
Dear all,
The function \x -> (x,x) is very convenient when working with arrows.
Would it be appropriate to add it to Data.Tuple?
Cheers,
Ivan
_______________________________________________ Libraries mailing list Libraries@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries
_______________________________________________ Libraries mailing list Libraries@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries
participants (1)
-
Ivan Perez