comparison tests/fib.ur @ 2304:6fb9232ade99

Merge Sqlcache
author Adam Chlipala <adam@chlipala.net>
date Sun, 20 Dec 2015 14:18:52 -0500
parents 6e580e319077
children
comparison
equal deleted inserted replaced
2201:1091227f535a 2304:6fb9232ade99
1 fun fib n =
2 if n = 0 then
3 0
4 else if n = 1 then
5 1
6 else
7 fib (n - 1) + fib (n - 2)
8
9 fun main n : transaction page =
10 return <xml>{[fib n]}</xml>