Mercurial > urweb
view demo/list.urs @ 2216:70ec9bb337be
Progress towards invalidation based on equalities of fields.
author | Ziv Scully <ziv@mit.edu> |
---|---|
date | Mon, 10 Nov 2014 22:04:40 -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