From a23f12953a60c8f8d663266a9644a08a905b7b36 Mon Sep 17 00:00:00 2001 From: Adam Chlipala Date: Tue, 21 Oct 2008 12:06:35 -0400 Subject: ListShop skeleton --- demo/list.urs | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 demo/list.urs (limited to 'demo/list.urs') diff --git a/demo/list.urs b/demo/list.urs new file mode 100644 index 00000000..e09f5118 --- /dev/null +++ b/demo/list.urs @@ -0,0 +1,5 @@ +datatype list t = Nil | Cons of t * list t + +val length : t ::: Type -> list t -> int + +val rev : t ::: Type -> list t -> list t -- cgit v1.2.3