Skip to content

Instantly share code, notes, and snippets.

@kunishi
Created January 29, 2014 09:55
Show Gist options
  • Save kunishi/8684847 to your computer and use it in GitHub Desktop.
Save kunishi/8684847 to your computer and use it in GitHub Desktop.
fun eval(nil, a) = 0.0
| eval(p::ps, a) = p + eval(ps, a)*a;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment