annotate lib/ur/option.ur @ 841:44c2c089ca15

Start of Option; Basis.current; fix missed cases in Jscomp.isNullable
author Adam Chlipala <adamc@hcoop.net>
date Sun, 07 Jun 2009 11:13:18 -0400
parents
children 74a1e3bdf430
rev   line source
adamc@841 1 datatype t = datatype Basis.option
adamc@841 2
adamc@841 3 fun isSome [a] x =
adamc@841 4 case x of
adamc@841 5 None => False
adamc@841 6 | Some _ => True