Slide 33
Slide 33 text
$(sel 1 3) (a, b, c) = a
meta-programming function
splice
\tup -> case tup of {(x, y, z) -> x}
:: (a, b, c) -> a
$(sel 5 5) (a, b, c, d, e) = e
\tup -> case tup of {(x, y, z, v, w) -> w}
:: (a, b, c, d, e) -> e
20
* Meta function executed at splice point, generating spliced code