Mercurial > meta
view parse.ur @ 22:8de201d70b91
Implement JSON typeclass for polymorphic variants.
author | Edward Z. Yang <ezyang@mit.edu> |
---|---|
date | Wed, 02 May 2012 11:47:37 -0400 |
parents | 8eaaca74a64c |
children |
line wrap: on
line source
(** Datatypes for describing parse results *) datatype parse a = Success of a | Failure of string