[Haskell-cafe] Textbook example of instance Foldable ((,) a)

Francesco Ariis fa-ml at ariis.it
Mon Nov 23 20:54:26 UTC 2020


Il 23 novembre 2020 alle 14:40 Zemyla ha scritto:
> So what should maximum (2, "potato") be?

For people who did not agree with `instance Foldable (,) a`, a
type error!


More information about the Haskell-Cafe mailing list