Mercurial > meta
view parse.ur @ 27:ca1c07d49b5e
Type-directed case matching for variants.
author | Edward Z. Yang <ezyang@mit.edu> |
---|---|
date | Thu, 26 Jul 2012 16:39:02 -0400 |
parents | 8eaaca74a64c |
children |
line wrap: on
line source
(** Datatypes for describing parse results *) datatype parse a = Success of a | Failure of string