These are chat archives for evhub/coconut

17th
Feb 2019
yggdr
@yggdr
Feb 17 12:02
@ArneBachmann Because the backpipes <| are still executed left to right, so print <| x <| y <| 3 == ((print <| x) <| y) <| 3. And since print <| x is a call to the print function, which returns None, y is now being applied to None, which isn't callable.
Arne Bachmann
@ArneBachmann
Feb 17 12:46
Ah OK, the second statement never gets executed and would return 18. Got it.
print <| (x <| (y <| 3)) fixes the first line