5 ms·
What was the language which used backticks to transform any function into an infix binary operator? Ruby? Perl? Something like this could actually fulfill Andr
by luckystarr 3y ago
What was the language which used backticks to transform any function into an infix binary operator? Ruby? Perl?
Something like this could actually fulfill Andrews goal of not having any hidden control flow, as the function would be plainly visible.
The other thing of course would be, what then the valid function names would be? Definitely not `*` but probably `×` or whatever.
- chrisoverzero 3y ago> What was the language which used backticks to transform any function into an infix binary operator? Ruby? Perl? Haskell.
- tyg13 3y agoHaskell does this.
- rscho 3y agoRacket