annotate tests/hog.ur @ 2257:28a541bd2d23

Use referenced (rather than all) free variables as keys for pure caches.
author Ziv Scully <ziv@mit.edu>
date Sun, 27 Sep 2015 14:46:12 -0400
parents a1aa62b472cf
children
rev   line source
adam@1307 1 fun more n =
adam@1307 2 if n <= 0 then
adam@1307 3 "!"
adam@1307 4 else
adam@1307 5 more (n-1) ^ more (n-1)
adam@1307 6
adam@1334 7 fun main n =
adam@1334 8 debug "Let's give this a try....";
adam@1334 9 return <xml>{[more n]}</xml>