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
Resolvestypelevel#828. I can't reproduce the behavior that I reported in that
issue. I'm not sure why I had trouble at first - maybe I was using
`Stream.foldRight` instead of `Foldable[Stream].foldRight`? I don't
think I was though, so this is a bit odd to me.
Actually, I can't reproduce this, and it looks like we already have a test for this in FoldableStreamCheck. Maybe I was using .foldRight on a Stream instead of using the Foldable instance? I'm not sure. I'm going to go ahead and close this out.
The following code results in a stack overflow, but it should return
false
, because this is basically howforall
is implemented inFoldable
.Notably,
Foldable[Stream].forall
is actually stack-safe, but that's because it is overridden to useStream.forall
.I noticed this when looking at #824.
The text was updated successfully, but these errors were encountered: