A few weeks ago I started trying a pre-beta release of Dyalog APL (now available as “full beta”) for Mac. Fellow Mac users, looks like we are in for a treat after so much time of only having GNU APL and the pretty expensive APLX. Now Mac APL lovers, users and aficionados will have a competitive, commercial option. At last!
I started with the usual 1+1, ⍳ 10 , ⍴ ⍳ 10 to check it worked as expected.
Is this line noise?
⍉' *'[⍎'1+0<|z',(∊150⍴⊂'←c+m×m'),'←c←(¯2.1J¯1.3+(((2.6÷b-1)×(¯1+⍳b))∘.+(0J1×(2.6÷b-1)×(¯1+⍳b←51))))'] Nope. This is not line noise, but a complete APL program to display the Mandelbrot set in glorious ASCII, with asterisks and spaces just like Brooks and Matelski did a long time ago while studying Kleinian groups (it’s a short paper, read it someday). I’ll explain in (a lot, I hope) detail this line in a few moments. So, what’s APL first?