comparison src/monoize.sml @ 1220:526575a9537a

Insert policies
author Adam Chlipala <adamc@hcoop.net>
date Sun, 11 Apr 2010 10:57:52 -0400
parents 648e6b087dfb
children 00e628854005
comparison
equal deleted inserted replaced
1219:3224faec752d 1220:526575a9537a
3744 let 3744 let
3745 val (e, make) = 3745 val (e, make) =
3746 case #1 e of 3746 case #1 e of
3747 L.EApp ((L.ECApp ((L.ECApp ((L.EFfi ("Basis", "sendClient"), _), _), _), _), _), e) => 3747 L.EApp ((L.ECApp ((L.ECApp ((L.EFfi ("Basis", "sendClient"), _), _), _), _), _), e) =>
3748 (e, L'.PolClient) 3748 (e, L'.PolClient)
3749 | L.EApp ((L.ECApp ((L.ECApp ((L.EFfi ("Basis", "mayInsert"), _), _), _), _), _), e) =>
3750 (e, L'.PolInsert)
3749 | _ => (poly (); (e, L'.PolClient)) 3751 | _ => (poly (); (e, L'.PolClient))
3750 3752
3751 val (e, fm) = monoExp (env, St.empty, fm) e 3753 val (e, fm) = monoExp (env, St.empty, fm) e
3752 in 3754 in
3753 SOME (env, 3755 SOME (env,