2 ms·
In R, <- is the predominant assignment operator, and until 2003 it supported _ as well, for compatibility with its predecessor, S. Here’s a post about it: https
by orhmeh09 8y ago
In R, <- is the predominant assignment operator, and until 2003 it supported _ as well, for compatibility with its predecessor, S. Here’s a post about it: https://colinfay.me/r-assignment/ https://colinfay.me/r-assignment/
Modern ligatures fonts like Fira Code turn the bracket and dash into an actual arrow, which is nice!
- truculent 8y agoNice link! FWIW, You also see <- within Haskell's do notation. Apparently F# and OCaml use it in places, too: https://en.wikipedia.org/wiki/Assignment_(computer_science)#Notation https://en.wikipedia.org/wiki/Assignment_(computer_science)#...