Edward Kmett | 10 Nov 23:33 2013
Picon

Proposal: Add `instance Bits Bool`

We went through all the pain of removing Num as a superclass of Bits to support it, but we apparently never actually put the instance of Bits (and FiniteBits) for Bool into base.

I propose we do so.

Discussion Period: 2 weeks

-Edward
_______________________________________________
Libraries mailing list
Libraries <at> haskell.org
http://www.haskell.org/mailman/listinfo/libraries
Herbert Valerio Riedel | 17 Nov 09:39 2013
Picon

Re: Proposal: Add `instance Bits Bool`

On 2013-11-10 at 23:33:31 +0100, Edward Kmett wrote:
> We went through all the pain of removing Num as a superclass of Bits to
> support it, but we apparently never actually put the instance of Bits (and
> FiniteBits) for Bool into base.

> I propose we do so.

+1
Conrad Parker | 17 Nov 22:44 2013

Re: Proposal: Add `instance Bits Bool`


On 17 November 2013 19:39, Herbert Valerio Riedel <hvr <at> gnu.org> wrote:
On 2013-11-10 at 23:33:31 +0100, Edward Kmett wrote:
> We went through all the pain of removing Num as a superclass of Bits to
> support it, but we apparently never actually put the instance of Bits (and
> FiniteBits) for Bool into base.

> I propose we do so.

+1

 +1

_______________________________________________
Libraries mailing list
Libraries <at> haskell.org
http://www.haskell.org/mailman/listinfo/libraries
Bas van Dijk | 18 Nov 08:52 2013
Picon

Re: Proposal: Add `instance Bits Bool`

+1

On 10 Nov 2013 23:33, "Edward Kmett" <ekmett <at> gmail.com> wrote:
We went through all the pain of removing Num as a superclass of Bits to support it, but we apparently never actually put the instance of Bits (and FiniteBits) for Bool into base.

I propose we do so.

Discussion Period: 2 weeks

-Edward

_______________________________________________
Libraries mailing list
Libraries <at> haskell.org
http://www.haskell.org/mailman/listinfo/libraries

_______________________________________________
Libraries mailing list
Libraries <at> haskell.org
http://www.haskell.org/mailman/listinfo/libraries

Gmane