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
Note: some combinations of the default implementations are unsafe to use together - causing a non-terminating mutually recursive cycle. These combinations are documented per function.
However, the docs for fold1Default and foldMap1Default state nothing about this. Reading the source code of those functions, it is clear that both are unsafe to use together.
The text was updated successfully, but these errors were encountered:
triallax
changed the title
Documentation for Foldable1 doesn't which combinations of default implementations are unsafe to use together
Documentation for Foldable1 doesn't state which combinations of default implementations are unsafe to use together
Sep 9, 2020
Quote from the
Foldable1
class documentation:However, the docs for
fold1Default
andfoldMap1Default
state nothing about this. Reading the source code of those functions, it is clear that both are unsafe to use together.The text was updated successfully, but these errors were encountered: