summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mono_reduce.sml3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mono_reduce.sml b/src/mono_reduce.sml
index 5c39145b..b66e9b04 100644
--- a/src/mono_reduce.sml
+++ b/src/mono_reduce.sml
@@ -213,6 +213,7 @@ fun summarize d (e, _) =
| ESome (_, e) => summarize d e
| EFfi _ => []
| EFfiApp (_, _, es) => List.concat (map (summarize d) es)
+ | EApp ((EFfi _, _), e) => summarize d e
| EApp _ => [Unsure]
| EAbs _ => []
@@ -244,7 +245,7 @@ fun summarize d (e, _) =
| EQuery {query, body, initial, ...} =>
List.concat [summarize d query,
- summarize d body,
+ summarize (d + 2) body,
summarize d initial,
[ReadDb]]