Skip to content

Instantly share code, notes, and snippets.

@cohalz
Created January 19, 2014 12:55
Show Gist options
  • Save cohalz/8504554 to your computer and use it in GitHub Desktop.
Save cohalz/8504554 to your computer and use it in GitHub Desktop.
let sum_and_diff (x, y) = (x + y, x - y)
let f (x, y) = ((x+y)/2,(x-y)/2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment