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
I don't think this is an issue any more for two reasons.
First, I thought implementing apply via bind was possibly the sole cause of why certain code resulted in a stack overflow. It is at not the most fundamental issue since map along suffers from stack overflows (c.f. #289).
Second, I wondered if the applicative behavior of apply and the monadic behavior of bind were different. I now think they are the same.
This is a spin off from #260 (comment).
Gen.apply
is currently implemented by callingGen.bind
.fsharp-hedgehog/src/Hedgehog/Gen.fs
Lines 46 to 48 in 6b376a6
This works but doesn't have the best performance. In particular, I think the current implementation exacerbates recursion that lacks tail calls.
The text was updated successfully, but these errors were encountered: