Haskell Foldable Wats

Kosyrev Serge _deepfire at feelingofgreen.ru
Wed Feb 24 15:24:02 UTC 2016

 Nathan Bouscal <nbouscal at gmail.com> writes:
> What you seem to be saying, though, is one of two things.
> 1: "In all contexts, you should only ever use tuples for this purpose", or 
> 2: "If you find another purpose to use tuples for, you shouldn't use them as Functors"
> Option 2 is more humble in that it allows for the possibility that
> there's a use-case you're unfamiliar with, but instead it just makes
> an arbitrary decision that, whatever this unfamiliar use-case is,
> surely they shouldn't be using Functor. I don't see any way to justify
> that position.

Crucially -- this is a strawman -- nobody is arguing that Functor should
never be defined for tuples.

The argument is against forcing one specific instance of Functor on everybody.

с уважениeм / respectfully,
Косырев Сергей

More information about the Libraries mailing list