Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Annotation of /sml/trunk/src/system/abcdef.sml
ViewVC logotype

Annotation of /sml/trunk/src/system/abcdef.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 678 - (view) (download)

1 : blume 675 structure X = struct
2 : blume 678 exception Foo
3 : blume 675 fun main n = let
4 :     fun a (x, 0) = d x
5 :     | a (x, n) = b (x, n - 1)
6 :     and b (x, n) = c (x, n)
7 :     and c (x, n) = a (x, n)
8 :     and d x = e (x, 3)
9 : blume 678 handle Match => raise Bind
10 : blume 675 and e (x, 0) = f x
11 :     | e (x, n) = e (x, n - 1)
12 : blume 678 and f 0 = raise Foo
13 : blume 675 | f n = n * g (n - 1)
14 :     and g n = a (n, 3)
15 :     in
16 :     f n
17 :     end
18 :     end

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0