Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
The Snakes and Ladders Jugalbandi from Functional Conf 2015, in APL
config30(3 5 11 20 17 19 21 27)(22 8 26 29 4 7 9 1)
turn{s f t n+{'throw ',}?6 n>s: (fn)t,n}
{}{config turn }{=30}1

ujjwalt commented Sep 20, 2015

Holy shit!
Damn I missed your talk. Please link to the slides.

gives me an invalid token when I try to run it online using the tryapl.org website.

⎕ is this quad ? or squad ?

Owner

jayfoad commented Oct 12, 2015

@mukundmr, @shukla2009: ⎕ is quad, and I'm using it to print some output as the game progresses. Unfortunately tryapl.org does not support this sort of input/output. Sorry! I'll think about a better way of writing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment