Add operator lambdas #228

Closed
opened 2020-02-20 23:14:56 +09:00 by zxq9 · 0 comments
zxq9 commented 2020-02-20 23:14:56 +09:00 (Migrated from gitlab.com)

Created by: radrow

Ability to treat an operator in parentheses like a casual function, just like in Haskell and OCaml;

function sum(l : list(int)) : int = foldl((+), 0, l)
function plus(x, y) = (+)(x, y) // ugly but shows the idea
*Created by: radrow* Ability to treat an operator in parentheses like a casual function, just like in Haskell and OCaml; ``` function sum(l : list(int)) : int = foldl((+), 0, l) function plus(x, y) = (+)(x, y) // ugly but shows the idea ```
Sign in to join this conversation.
No Milestone
No project
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: QPQ-AG/sophia#228
No description provided.