Mercurial > urweb
comparison src/explify.sml @ 1254:935a981f4380
Merge
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Thu, 06 May 2010 13:57:01 -0400 |
parents | c316ca3c9ec6 |
children | b4480a56cab7 |
comparison
equal
deleted
inserted
replaced
1198:b52929351402 | 1254:935a981f4380 |
---|---|
194 (L'.KArrow (explifyKind k, (L'.KType, loc)), loc), explifyCon c), loc) | 194 (L'.KArrow (explifyKind k, (L'.KType, loc)), loc), explifyCon c), loc) |
195 | L.DDatabase s => SOME (L'.DDatabase s, loc) | 195 | L.DDatabase s => SOME (L'.DDatabase s, loc) |
196 | L.DCookie (nt, x, n, c) => SOME (L'.DCookie (nt, x, n, explifyCon c), loc) | 196 | L.DCookie (nt, x, n, c) => SOME (L'.DCookie (nt, x, n, explifyCon c), loc) |
197 | L.DStyle (nt, x, n) => SOME (L'.DStyle (nt, x, n), loc) | 197 | L.DStyle (nt, x, n) => SOME (L'.DStyle (nt, x, n), loc) |
198 | L.DTask (e1, e2) => SOME (L'.DTask (explifyExp e1, explifyExp e2), loc) | 198 | L.DTask (e1, e2) => SOME (L'.DTask (explifyExp e1, explifyExp e2), loc) |
199 | L.DPolicy e1 => SOME (L'.DPolicy (explifyExp e1), loc) | |
199 | 200 |
200 and explifyStr (str, loc) = | 201 and explifyStr (str, loc) = |
201 case str of | 202 case str of |
202 L.StrConst ds => (L'.StrConst (List.mapPartial explifyDecl ds), loc) | 203 L.StrConst ds => (L'.StrConst (List.mapPartial explifyDecl ds), loc) |
203 | L.StrVar n => (L'.StrVar n, loc) | 204 | L.StrVar n => (L'.StrVar n, loc) |