Mercurial > urweb
view demo/list.urs @ 1425:139d019c7237
Syntactic sugar for grouping by variable numbers of columns
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Thu, 17 Feb 2011 18:05:08 -0500 |
parents | 4d519baf357c |
children |
line wrap: on
line source
datatype list t = Nil | Cons of t * list t val length : t ::: Type -> list t -> int val rev : t ::: Type -> list t -> list t