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 a300076 commit f45c8fcCopy full SHA for f45c8fc
src/FSharpPlus/Builders.fs
@@ -68,7 +68,7 @@ module GenericBuilders =
68
type StrictBuilder<'``monad<'t>``> () =
69
inherit Builder<'``monad<'t>``> ()
70
member inline _.Delay ([<InlineIfLambda>]expr) = expr : unit -> '``Monad<'T>``
71
- member inline _.Run ([<InlineIfLambda>]f) = f () : '``monad<'t>``
+ member inline _.Run ([<InlineIfLambda>]f) = Delay.Invoke f : '``monad<'t>``
72
member inline _.TryWith ([<InlineIfLambda>]expr, [<InlineIfLambda>]handler) = TryWith.InvokeForStrict expr handler : '``Monad<'T>``
73
member inline _.TryFinally ([<InlineIfLambda>]expr, [<InlineIfLambda>]compensation) = TryFinally.InvokeForStrict expr compensation : '``Monad<'T>``
74
0 commit comments