view 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
line wrap: on
line source
datatype t = datatype Basis.option

fun isSome [a] x =
    case x of
        None => False
      | Some _ => True