HCoop
/
hcoop
/
debian
/
mlton.git
/ blame_incremental
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(non-incremental) |
history
|
HEAD
Import Upstream version 20180207
[hcoop/debian/mlton.git]
/
regression
/
nested-loop.sml
This page requires JavaScript to run. Use
this page
instead.
... / ...
Commit
Line
Data
1
fun loop1 x =
2
if x = 0
3
then ()
4
else (let
5
fun loop2 y =
6
if y = 0
7
then ()
8
else loop2 (y - 1)
9
in loop2 x
10
end;
11
loop1 (x - 1))
12
13
val _ = loop1 13