Proposal: Num instance for tuples

Edward Kmett ekmett at gmail.com
Fri Oct 19 18:31:43 CEST 2012


Very well, I withdraw my support. I can see the (,) m Applicative version
as being useful to people as well.

-1

On Thu, Oct 18, 2012 at 5:57 AM, Dan Doel <dan.doel at gmail.com> wrote:

> On Thu, Oct 18, 2012 at 7:34 AM, Edward Kmett <ekmett at gmail.com> wrote:
> > Unlike the rest of the comments so far, I am
> >
> > +1
> >
> > to this proposal.
> >
> > It has the only reasonable semantics.
>
> There are at least two reasonable choices. The first is this. The
> second is given by the fact that for any Num a and Applicative f, we
> can write Num (f a) by lifting all the operations.
>
> I suppose the one proposed here might be more commonly used.
>
> -- Dan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/libraries/attachments/20121019/8683b2fc/attachment.htm>


More information about the Libraries mailing list