view demo/list.urs @ 1271:503d4ec93494

Allow complex attribute records in Tag
author Adam Chlipala <adamc@hcoop.net>
date Tue, 01 Jun 2010 15:46:24 -0400
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