These are chat archives for evhub/coconut

2nd
Jul 2018
Elliott Indiran
@eindiran
Jul 02 2018 21:03

I couldn't reproduce this. I tried with both the 2.7 and 3.6 version of coconut and the 2.7 and 3.6 version of coconut-develop.

Each time I got:

>>>def square(x) = x*x
>>>def plus1(x) = x+1
>>>plus1..square(3)
10
>>>plus1..square(3) == 10
True
>>>plus1..square(3) |> print
10

However, I could get it to happen if I used the backwards composition operator:

>>>plus1<..square(3)
9 ..> <function plus1 at 0x7f5061e8ed08>

Does it happen if you use the non-development branch?