4 ms·
I like the comparison to implicit methods or trait implementations in rust. However what about currying and partial application? The article didn't come back to
by snthpy 2y ago
I like the comparison to implicit methods or trait implementations in rust. However what about currying and partial application? The article didn't come back to that. It's that lost now in Gleam?
We wrestled with the same issue in PRQL. There we have "data last" in order to allow for currying and our pipe operator just pipes to the last argument so you still have the same pipeline syntax.
I also like the qualified imports. The lack of those was what turned me off Nim.
- ReleaseCandidat 2y agoGleam never had currying or partial application like with usual ML syntax.
- snthpy 2y agoOk then you're not really giving up much with data-first and are gaining benefits. Rye has an interesting approach with the * syntax to allow injecting into the second argument for op-words: https://ryelang.org/meet_rye/specifics/opwords/ https://ryelang.org/meet_rye/specifics/opwords/