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