comparison src/explify.sml @ 704:70cbdcf5989b

UNIQUE constraints
author Adam Chlipala <adamc@hcoop.net>
date Tue, 07 Apr 2009 12:24:31 -0400
parents 12b73f3c108e
children e6706a1df013
comparison
equal deleted inserted replaced
703:a5d8b470d7ca 704:70cbdcf5989b
176 | L.DSgn (x, n, sgn) => SOME (L'.DSgn (x, n, explifySgn sgn), loc) 176 | L.DSgn (x, n, sgn) => SOME (L'.DSgn (x, n, explifySgn sgn), loc)
177 | L.DStr (x, n, sgn, str) => SOME (L'.DStr (x, n, explifySgn sgn, explifyStr str), loc) 177 | L.DStr (x, n, sgn, str) => SOME (L'.DStr (x, n, explifySgn sgn, explifyStr str), loc)
178 | L.DFfiStr (x, n, sgn) => SOME (L'.DFfiStr (x, n, explifySgn sgn), loc) 178 | L.DFfiStr (x, n, sgn) => SOME (L'.DFfiStr (x, n, explifySgn sgn), loc)
179 | L.DConstraint (c1, c2) => NONE 179 | L.DConstraint (c1, c2) => NONE
180 | L.DExport (en, sgn, str) => SOME (L'.DExport (en, explifySgn sgn, explifyStr str), loc) 180 | L.DExport (en, sgn, str) => SOME (L'.DExport (en, explifySgn sgn, explifyStr str), loc)
181 | L.DTable (nt, x, n, c) => SOME (L'.DTable (nt, x, n, explifyCon c), loc) 181 | L.DTable (nt, x, n, c, e) => SOME (L'.DTable (nt, x, n, explifyCon c, explifyExp e), loc)
182 | L.DSequence (nt, x, n) => SOME (L'.DSequence (nt, x, n), loc) 182 | L.DSequence (nt, x, n) => SOME (L'.DSequence (nt, x, n), loc)
183 | L.DClass (x, n, k, c) => SOME (L'.DCon (x, n, 183 | L.DClass (x, n, k, c) => SOME (L'.DCon (x, n,
184 (L'.KArrow (explifyKind k, (L'.KType, loc)), loc), explifyCon c), loc) 184 (L'.KArrow (explifyKind k, (L'.KType, loc)), loc), explifyCon c), loc)
185 | L.DDatabase s => SOME (L'.DDatabase s, loc) 185 | L.DDatabase s => SOME (L'.DDatabase s, loc)
186 | L.DCookie (nt, x, n, c) => SOME (L'.DCookie (nt, x, n, explifyCon c), loc) 186 | L.DCookie (nt, x, n, c) => SOME (L'.DCookie (nt, x, n, explifyCon c), loc)