Re:APL at Volvo
by rak1507 on Thursday February 22, 2024 @05:18PM
(#39474107)
Most "production" APL is pretty verbose. See https://github.com/Dyalog/Jarvis/blob/master/Source/Jarvis.d... for example
[ Parent
| on HN ]
Re:APL at Volvo
by avgcorrection on Thursday February 22, 2024 @08:05PM
(#39475585)
Among Us comment char.
Re:APL at Volvo
by eminence32 on Thursday February 22, 2024 @09:21PM
(#39476159)
Some of this seems readable to me (someone who's never seen APL before), but some of this is just wild:
→0⍴⍨0∊⍴i←⍸127<c←⎕UCS w
But to me as a relatively experienced APLer, it reads very clearly as "return if there are no non-ASCII chars in `w`" (and if there are, the indices of those chars will be stored in `i` and the code point of every char will be stored in `c`).