log
graph
tags
bookmarks
branches
changeset
browse
file
latest
diff
comparison
annotate
file log
raw
help
Mercurial
>
urweb
comparison tests/fib.ur @ 2298:6e580e319077
Find changesets by keywords (author, files, the commit message), revision number or hash, or
revset expression
.
Fix condition for installing new cache entries
author
Adam Chlipala <adam@chlipala.net>
date
Thu, 19 Nov 2015 16:02:04 -0500
parents
children
comparison
equal
deleted
inserted
replaced
2297:6d56080f495c
2298:6e580e319077
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>