Mercurial > urweb
view demo/list.urs @ 2240:88cc0f44c940
Rename C functions and remove functors nested inside modules.
author | Ziv Scully <ziv@mit.edu> |
---|---|
date | Sun, 19 Jul 2015 19:03:11 -0700 |
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