summaryrefslogtreecommitdiff
path: root/src/lru_cache.sml
diff options
context:
space:
mode:
Diffstat (limited to 'src/lru_cache.sml')
-rw-r--r--src/lru_cache.sml8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lru_cache.sml b/src/lru_cache.sml
index 0030777f..b8dfde5e 100644
--- a/src/lru_cache.sml
+++ b/src/lru_cache.sml
@@ -13,7 +13,13 @@ val optionStringTyp = (TOption stringTyp, dummyLoc)
fun withTyp typ = map (fn exp => (exp, typ))
fun ffiAppCache' (func, index, argTyps) =
- EFfiApp ("Sqlcache", func ^ Int.toString index, argTyps)
+ let
+ val m = "Sqlcache"
+ val f = func ^ Int.toString index
+ in
+ Settings.addEffectful (m, f);
+ EFfiApp (m, f, argTyps)
+ end
fun check (index, keys) =
ffiAppCache' ("check", index, withTyp stringTyp keys)