-
-
Notifications
You must be signed in to change notification settings - Fork 4
Pannous edited this page Sep 18, 2021
·
3 revisions
In lambda expression, the it
keyword refers to the first (implicit) argument, otherwise it refers
to self or the last result, which can be very ambivalent:
double:=it*2 # ok, implicit argument for function 'double'
double:it*2 # may interpret to anything later
double=it*2 # ok, [interpret](evaluation) immediately?
Todo: ambiguity?