equal
deleted
inserted
replaced
66 |
66 |
67 (*FIXME why another code_setmp?*) |
67 (*FIXME why another code_setmp?*) |
68 fun compile f = (code_setmp f Compile; ()); |
68 fun compile f = (code_setmp f Compile; ()); |
69 fun export f = (code_setmp f Export; ()); |
69 fun export f = (code_setmp f Export; ()); |
70 fun file p f = (code_setmp f (File p); ()); |
70 fun file p f = (code_setmp f (File p); ()); |
71 fun string cs f = fst (the (code_setmp f (String cs))); |
71 fun string stmts f = fst (the (code_setmp f (String stmts))); |
72 |
72 |
73 fun stmt_names_of_destination (String stmts) = stmts |
73 fun stmt_names_of_destination (String stmts) = stmts |
74 | stmt_names_of_destination _ = []; |
74 | stmt_names_of_destination _ = []; |
75 |
75 |
76 fun mk_serialization target (SOME comp) _ _ code Compile = (comp code; NONE) |
76 fun mk_serialization target (SOME comp) _ _ code Compile = (comp code; NONE) |