diff options
author | Adam Chlipala <adamc@hcoop.net> | 2008-10-21 12:06:35 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2008-10-21 12:06:35 -0400 |
commit | a23f12953a60c8f8d663266a9644a08a905b7b36 (patch) | |
tree | 017e4ed05769d4fff43b3ecfef4cef440d68653a /demo/list.urs | |
parent | cd8ba90217f6ed7efbf4882b4dcd8e199e510fbb (diff) |
ListShop skeleton
Diffstat (limited to 'demo/list.urs')
-rw-r--r-- | demo/list.urs | 5 |
1 files changed, 5 insertions, 0 deletions
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 |