Functle API¶
-
class
functle.
TurtleState
[source]¶ Immutable public State.
-
angle
¶ Alias for field number 1
-
pen
¶ Alias for field number 2
-
position
¶ Alias for field number 0
-
-
functle.
curry
(fun)¶ Curry the function : changes some parameters (the ones not passed at first) into a later function call. Effectively splits one call into two. >>> def add(a,b): … return a + b >>> addfirst = curry(add) >>> andthen = addfirst(2) >>> addthen(3) 5