Proposal: Num instance for tuples

Ivan Lazar Miljenovic ivan.miljenovic at gmail.com
Thu Oct 18 22:47:51 CEST 2012


On 19 October 2012 04:57, Henning Thielemann
<lemming at henning-thielemann.de> wrote:
>
> On Thu, 18 Oct 2012, Brent Yorgey wrote:
>
>> I am +1 for this proposal, but only as long as these instances are not
>> exported by the Prelude.  They are useful when you know you want them
>> but will confuse newbies -- based on evidence from #haskell, where
>> lambdabot has such instances in scope.
>
>
> Please no orphan instances - I think a pair type that supports arithmetics
> deserves a custom type.

Agreed.  Another -1 on the proposal from me.

-- 
Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com
http://IvanMiljenovic.wordpress.com



More information about the Libraries mailing list