projects
/
ghc-base.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[project @ 2003-07-31 10:48:50 by panne]
[ghc-base.git]
/
Text
/
ParserCombinators
/
Parsec
/
examples
/
tiger
/
fac.tig
1
let function fact(n : int) : int =
2
if n < 1 then 1 else (n * fact(n - 1))
3
in fact(10)
4
end