Skip to content

Instantly share code, notes, and snippets.

@gitonthescene
gitonthescene / apl-rank.org
Last active May 30, 2022 12:25
Rank Absurdity

Rank absurdity

In this note I’m going to try to wrap my head around Dyalog APL’s rank operator. Some basic knowledge of APL is assumed but not much more than can be attained by browsing an introduction to the language.

I’m still pretty new to APL, so you’re welcome to watch my process but if you’re a stickler for details this may not be for you. I am open to criticism though, so please let me know if I’ve got something wrong.

Also, this may be a long one because I think it pulls together lots of different aspects of array

@gitonthescene
gitonthescene / apl-trains.org
Last active June 29, 2022 06:38
An exploration of Dyalog APL trains

Training day

This is just a short article explaining some things I thought about trying to make sense of the term train in Dyalog APL. Some basic knowledge of APL is assumed but not much more than can be attained by browsing an introduction to the language.

There are plenty of rigorous treatments of various aspects of APL out there, but to be clear, this isn’t one. I may get some stuff wrong (please comment below if I do!) but it’s meant to offer an honest view of how one person really goes about thinking in APL.

Trains

@gitonthescene
gitonthescene / apl-forks.org
Last active May 28, 2022 07:15
Basic introduction to using forks in Dyalog APL

Forks: Spoon fed

This just a short article explaining how forks work in Dyalog APL. Some basic knowledge of APL is assumed but not much more than can be attained by browsing an introduction to the language.

I should say that this will be opinionated. It’s not meant to declare what is but rather my take on what is. Feel free to read “as I see it” before every sentence. Further, this is meant for beginners. It attempts to present a framework for thinking about this tool and not as a historical reference on the development of it. It’s similar to learning a Chinese character and thinking “that looks like a mouse!” Even if that’s not the origin of the character, if it helps you remember it then it’s worth latching onto.