Welcome! Please see the About page for a little more info on how this works.

0 votes
in core.async by

I'm curious about why in the 3 pipeline* functions in core.async, the to argument is expected before the from argument. Looks like originally, with the pipe function, the order was the opposite, but when the pipeline functions where added, there was a reason to swap the order.

There is also a todo on the code to change arguments order for pipe:

1 Answer

+1 vote
selected by
Best answer

Iirc, the idea was to match into.