view parse.ur @ 30:4e673b535434

Optimizing JSON generation
author Adam Chlipala <adam@chlipala.net>
date Thu, 04 Dec 2014 19:52:51 -0500
parents 8eaaca74a64c
children
line wrap: on
line source
(** Datatypes for describing parse results *)

datatype parse a =
         Success of a
       | Failure of string