Skip to content

Instantly share code, notes, and snippets.

@cschladetsch
Created September 28, 2020 12:16
Show Gist options
  • Save cschladetsch/f442eb8498f291e01e53ce8ba158541c to your computer and use it in GitHub Desktop.
Save cschladetsch/f442eb8498f291e01e53ce8ba158541c to your computer and use it in GitHub Desktop.
fun f1(n)
n+1
fun f2(n)
f1(n + 2)
assert f1(1) == 2
assert f2(1) == 4
fun f3(n, a)
fun f4(m)
m*2
f4(n + 1) + a
assert f3(2, 2) == 8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment