3 ms·
Smalltalk used to have left arrow for assignment like I see in the Haskell here. It's a lot prettier than :=
by readthenotes1 1y ago
Smalltalk used to have left arrow for assignment like I see in the Haskell here.
It's a lot prettier than :=
- bitwize 1y agoSmalltalk's left arrow is actually _. Before ASCII was fully standardized to what we know today, ^ was ↑ and _ was ←. This is visible in some later character sets, like PETSCII and the fonts used for Smalltalk. In Smalltalk, you can still type 'a _ foo' and it will assign foo to a.
- igouy 1y agoIn Cuis Smalltalk, you can still type b _ 5 and see b ← 5 and copy / paste here and see b := 5 https://cuis.st/ https://cuis.st/