view parse.ur @ 21:e7d64ea0f922

Variant.weaken, mp, and mapR
author Adam Chlipala <adam@chlipala.net>
date Thu, 05 Jan 2012 18:04:04 -0500
parents 8eaaca74a64c
children
line wrap: on
line source
(** Datatypes for describing parse results *)

datatype parse a =
         Success of a
       | Failure of string