diff options
author | Adam Chlipala <adamc@hcoop.net> | 2008-06-08 13:00:12 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2008-06-08 13:00:12 -0400 |
commit | d44758dd02286c136aecaab935fb692761bdc9a6 (patch) | |
tree | 38a367b08031b8dfccb11bd3d62043664b5a8b67 /tests | |
parent | 32115a531d5ed6cafa25dc7d3b88c2679e5142a5 (diff) |
Implicit constructor arguments
Diffstat (limited to 'tests')
-rw-r--r-- | tests/impl.lac | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/impl.lac b/tests/impl.lac new file mode 100644 index 00000000..91f5c52b --- /dev/null +++ b/tests/impl.lac @@ -0,0 +1,5 @@ +val id = fn t :: Type => fn x : t => x +val id_self = id [t :: Type -> t -> t] id + +val idi = fn t ::: Type => fn x : t => x +val idi_self = idi idi |