view parse.ur @ 29:7530b2b54353

Update for Ur/Web's new type class handling
author Adam Chlipala <adam@chlipala.net>
date Sun, 29 Jul 2012 12:27:36 -0400
parents 8eaaca74a64c
children
line wrap: on
line source
(** Datatypes for describing parse results *)

datatype parse a =
         Success of a
       | Failure of string