view lib/ur/option.ur @ 843:9f0ea203a1ca

List.all; fix ANDALSO/ORELSE parsing precedence
author Adam Chlipala <adamc@hcoop.net>
date Sun, 07 Jun 2009 14:15:22 -0400
parents 44c2c089ca15
children 74a1e3bdf430
line wrap: on
line source
datatype t = datatype Basis.option

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