diff src/mono.sml @ 1254:935a981f4380

Merge
author Adam Chlipala <adamc@hcoop.net>
date Thu, 06 May 2010 13:57:01 -0400
parents a2cd6664f57f
children 3d06e0f7a6f3
line wrap: on
line diff
--- a/src/mono.sml	Sat Apr 17 13:57:10 2010 -0400
+++ b/src/mono.sml	Thu May 06 13:57:01 2010 -0400
@@ -1,4 +1,4 @@
-(* Copyright (c) 2008, Adam Chlipala
+(* Copyright (c) 2008-2010, Adam Chlipala
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -123,6 +123,13 @@
 
 withtype exp = exp' located
 
+datatype policy =
+         PolClient of exp
+       | PolInsert of exp
+       | PolDelete of exp
+       | PolUpdate of exp
+       | PolSequence of exp
+
 datatype decl' =
          DDatatype of (string * int * (string * int * typ option) list) list
        | DVal of string * int * typ * exp * string
@@ -141,6 +148,8 @@
 
        | DTask of exp * exp
 
+       | DPolicy of policy
+
 withtype decl = decl' located
 
 type file = decl list