We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 804293d commit 2d5799cCopy full SHA for 2d5799c
src/instances.jl
@@ -94,9 +94,9 @@ struct WriterHandler{Acc}
94
pure_acc::Acc
95
end
96
WriterHandler() = WriterHandler(neutral) # same default pure-accumulator which is also used in TypeClasses
97
-ExtensibleEffects.eff_applies(handler::WriterHandler{Acc}, effectful::Writer{Acc}) where Acc = true
+ExtensibleEffects.eff_applies(handler::WriterHandler, effectful::Writer) = true
98
ExtensibleEffects.eff_pure(handler::WriterHandler, value) = Writer(handler.pure_acc, value)
99
-# autohandler and eff_flatmap are the same
+# eff_flatmap is the same
100
101
102
# Callable
0 commit comments