add = fn x -> case x do {x,y,f} -> f.(x,y) {x,y} -> x + y _ -> raise("bad match") end end
Created
April 3, 2016 18:33
-
-
Save binarytemple/fd0affa46b7ba5e8f09b253b9194863d to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment