annotate tests/hog.ur @ 1714:d6c45026240d

Do a lot more type simplification for error messages
author Adam Chlipala <adam@chlipala.net>
date Mon, 16 Apr 2012 09:46:42 -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>