From d44758dd02286c136aecaab935fb692761bdc9a6 Mon Sep 17 00:00:00 2001 From: Adam Chlipala Date: Sun, 8 Jun 2008 13:00:12 -0400 Subject: Implicit constructor arguments --- tests/impl.lac | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 tests/impl.lac (limited to 'tests') 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 -- cgit v1.2.3