Get the latest tech news
TinyAPL part 1: Introduction and Arrays
In this series of articles, I will implement a simple APL dialect named TinyAPL in Haskell.
I've been learning APL for the past year and since the first day I've been wondering how difficult it might be to write an interpreter for a simplified dialect, named TinyAPL. I want to start by implementing the part I'm most interested in, that is, a representation of APL arrays, functions and operators in the Haskell typesystem. Because we cannot easily require that the invariant holds, I'll implement some helper functions to construct arrays.
Or read this on Hacker News