comparison src/explify.sml @ 84:e86370850c30

Disjointness assumptions
author Adam Chlipala <adamc@hcoop.net>
date Tue, 01 Jul 2008 12:10:46 -0400
parents b4f2a258e52c
children 1f85890c9846
comparison
equal deleted inserted replaced
83:0a1baddd8ab2 84:e86370850c30
54 | L.CNamed n => (L'.CNamed n, loc) 54 | L.CNamed n => (L'.CNamed n, loc)
55 | L.CModProj (m, ms, x) => (L'.CModProj (m, ms, x), loc) 55 | L.CModProj (m, ms, x) => (L'.CModProj (m, ms, x), loc)
56 56
57 | L.CApp (c1, c2) => (L'.CApp (explifyCon c1, explifyCon c2), loc) 57 | L.CApp (c1, c2) => (L'.CApp (explifyCon c1, explifyCon c2), loc)
58 | L.CAbs (x, k, c) => (L'.CAbs (x, explifyKind k, explifyCon c), loc) 58 | L.CAbs (x, k, c) => (L'.CAbs (x, explifyKind k, explifyCon c), loc)
59 | L.CDisjoint _ => raise Fail "Explify CDisjoint"
59 60
60 | L.CName s => (L'.CName s, loc) 61 | L.CName s => (L'.CName s, loc)
61 62
62 | L.CRecord (k, xcs) => (L'.CRecord (explifyKind k, map (fn (c1, c2) => (explifyCon c1, explifyCon c2)) xcs), loc) 63 | L.CRecord (k, xcs) => (L'.CRecord (explifyKind k, map (fn (c1, c2) => (explifyCon c1, explifyCon c2)) xcs), loc)
63 | L.CConcat (c1, c2) => (L'.CConcat (explifyCon c1, explifyCon c2), loc) 64 | L.CConcat (c1, c2) => (L'.CConcat (explifyCon c1, explifyCon c2), loc)