X-Git-Url: https://git.hcoop.net/hcoop/domtool2.git/blobdiff_plain/6ae327f88a6be8efd02cfe4b713444f9f3ac2672..90dd48df1de3ea116fe2f2c0ec0fe36c71e17e5c:/src/ast.sml diff --git a/src/ast.sml b/src/ast.sml index 667a26c..ba00f78 100644 --- a/src/ast.sml +++ b/src/ast.sml @@ -59,7 +59,7 @@ datatype typ' = | TUnif of string * typ option ref (* Unification variable to be determined during type-checking *) withtype typ = typ' * position - and record = typ StringMap.map + and record = (typ' * position) StringMap.map datatype exp' = EInt of int @@ -89,6 +89,8 @@ datatype exp' = * action are abandoned *) | EWith of exp * exp (* Apply a TNested to an action *) + | EALam of string * pred * exp + (* Abstraction for building TNested values *) withtype exp = exp' * position datatype decl' =