opeltre/fp

Casts

Closed this issue · 1 comments

Do not cast automatically, or at least not with python builtins.

Right now, anything in Show i.e. implementing __repr__ is cast to string, and the following is accepted:

f = Arrow(str, int)(len)
f([0, 1, 2, 3])
#out: length of string representation

not the case in #10 anymore