Proposal: Num instance for tuples
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.
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...
More information about the Libraries