comparison lib/ur/option.urs @ 961:8c37699de273

Grid sorting working
author Adam Chlipala <adamc@hcoop.net>
date Sat, 19 Sep 2009 13:32:33 -0400
parents da3ec6014d2f
children 757dbac0454d
comparison
equal deleted inserted replaced
960:6f34950825b6 961:8c37699de273
1 datatype t = datatype Basis.option 1 datatype t = datatype Basis.option
2 2
3 val eq : a ::: Type -> eq a -> eq (t a) 3 val eq : a ::: Type -> eq a -> eq (t a)
4 val ord : a ::: Type -> ord a -> ord (t a)
4 5
5 val isNone : a ::: Type -> t a -> bool 6 val isNone : a ::: Type -> t a -> bool
6 val isSome : a ::: Type -> t a -> bool 7 val isSome : a ::: Type -> t a -> bool
7 8
8 val mp : a ::: Type -> b ::: Type -> (a -> b) -> t a -> t b 9 val mp : a ::: Type -> b ::: Type -> (a -> b) -> t a -> t b