You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# we reinterpret Types as TypeVal typevariables in order to automatically
44
+
# specialize functions on these types
45
+
runhandler(::Type{Handler}, eff::Eff) where Handler =runhandler(TypeVal{Handler}(), eff)
42
46
43
47
"""
44
48
runhandler(handler, eff::Eff)
@@ -49,11 +53,11 @@ key method to run an effect on some effecthandler Eff
49
53
note that we represent effectrunners as plain types in order to associate
50
54
standard effect runners with types like Vector, Option, ...
51
55
"""
52
-
functionrunhandler(handler, eff::Eff)
56
+
functionrunhandler(handler, eff::Eff)# this weird type parameter is needed because of https://discourse.julialang.org/t/need-help-on-understanding-type-inference-performance/80600
0 commit comments