Re: Proposal: Num instance for tuples
Edward Kmett <[email protected]>
| Newsgroups | gmane.comp.lang.haskell.libraries,gmane.comp.lang.haskell.cvs.ghc |
|---|---|
| Message-ID | <CAJumaK-0UqvC-4mZcF43Tf7=At48OsTk-+aXLezG0zyh-f9TrA@mail.gmail.com> |
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 <[email protected]> wrote: > On Thu, Oct 18, 2012 at 7:34 AM, Edward Kmett <[email protected]> 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 > _______________________________________________ Libraries mailing list [email protected] http://www.haskell.org/mailman/listinfo/libraries