You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
without getting an error, and it would be nice if it were possible to use operators as if they were names, much as in Haskell:
reduce(+, 0, [11,22,33]) // 66
In Haskell the operator must generally be in parentheses (+), and of course this would sometimes be required in LES too (+(2,3) means something quite different than (+)(2,3), and I propose that ==(2,3) would remain illegal).
The text was updated successfully, but these errors were encountered:
Sometimes you just want to write
without getting an error, and it would be nice if it were possible to use operators as if they were names, much as in Haskell:
In Haskell the operator must generally be in parentheses
(+)
, and of course this would sometimes be required in LES too (+(2,3)
means something quite different than(+)(2,3)
, and I propose that==(2,3)
would remain illegal).The text was updated successfully, but these errors were encountered: