view demo/list.urs @ 1475:b703b375c3c0

xtable monoize to string.
author Karn Kallio <kkallio@eka>
date Thu, 23 Jun 2011 00:01:52 -0430
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