diff options
author | Adam Chlipala <adamc@hcoop.net> | 2008-06-19 16:35:40 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2008-06-19 16:35:40 -0400 |
commit | e542e7ba2106c5763006e88d90b6834fe9221b85 (patch) | |
tree | bf572cb1c2dfec0751f72a61fcfe0a9fd563c933 /tests | |
parent | 7a1c5e1780fd3c56d9c591821905bb3b3bbfa50a (diff) |
Elaborating 'where'
Diffstat (limited to 'tests')
-rw-r--r-- | tests/functor.lac | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/functor.lac b/tests/functor.lac index 1eef5383..7d2983e0 100644 --- a/tests/functor.lac +++ b/tests/functor.lac @@ -9,11 +9,7 @@ signature T = sig val three : t end -signature F = functor (M : S) : T - -structure F = functor (M : S) : T => struct +functor F (M : S) : T where type t = M.t = struct type t = M.t val three = M.s (M.s (M.s M.z)) end - -structure F2 : F = F |