Skip to content

Instantly share code, notes, and snippets.

Created October 3, 2011 00:00
Show Gist options
  • Save anonymous/1258137 to your computer and use it in GitHub Desktop.
Save anonymous/1258137 to your computer and use it in GitHub Desktop.
;; amalloy's solution to Simple closures
;; https://4clojure.com/problem/107
{0 {2 1}
1 {2 2}
2 {2 4, 16 256}
3 {1 1, 2 8, 3 27, 4 64}
4 {2 16}
8 {2 256}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment