Skip to content

Instantly share code, notes, and snippets.

@deque-blog
Last active January 17, 2017 17:11
Show Gist options
  • Save deque-blog/c0d6ee8191661d6b4536789b6371c4ec to your computer and use it in GitHub Desktop.
Save deque-blog/c0d6ee8191661d6b4536789b6371c4ec to your computer and use it in GitHub Desktop.
> let e = add [ cst(1)
, cst(2)
, mul [cst(0), var("x"), var("y")]
, mul [cst(1), var("y"), cst(2)]
, add [cst(0), var("x") ]]
> prn e
"(+ 1 2 (* 0 x y) (* 1 y 2) (+ 0 x))"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment