Adding Backwards to base, re-export from Control.Applicative

15 paparan
Langkau ke mesej pertama yang belum dibaca

Baldur Blöndal

belum dibaca,
12 Nov 2019, 8:56:50 PG12/11/19
kepada core-librari...@haskell.org
Is it time to move Control.Applicative.Backwards module from transformers to base, and maybe re-export it from Control.Applicative.

It's an interesting, important, simple property of Applicative that they can be run backwards.

chessai .

belum dibaca,
12 Nov 2019, 11:59:57 PG12/11/19
kepada Baldur Blöndal, core-librari...@haskell.org
I support this. +1

Should we copy in the libraries mailing list?

On Tue, Nov 12, 2019, 5:56 AM Baldur Blöndal <bald...@gmail.com> wrote:
Is it time to move Control.Applicative.Backwards module from transformers to base, and maybe re-export it from Control.Applicative.

It's an interesting, important, simple property of Applicative that they can be run backwards.

--
You received this message because you are subscribed to the Google Groups "haskell-core-libraries" group.
To unsubscribe from this group and stop receiving emails from it, send an email to haskell-core-libr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/haskell-core-libraries/CAK9DwL9vPwA%3DJ%3DoZ%3D%2BKrM_k6TcZ89dvzvo0%2B288yDR8HL4bsDw%40mail.gmail.com.

Ryan Scott

belum dibaca,
12 Nov 2019, 5:15:05 PTG12/11/19
kepada chessai ., Baldur Blöndal, core-librari...@haskell.org
This discussion definitely belongs on the mailing list, yes.

Ryan

George Wilson

belum dibaca,
25 Nov 2019, 7:50:03 PTG25/11/19
kepada Baldur Blöndal, Ryan Scott, core-librari...@haskell.org, Haskell Libraries
I support this.
It would require coordinating with Ross Paterson, the maintainer of
transformers.

On Tue, 26 Nov 2019 at 09:58, Baldur Blöndal <bald...@gmail.com> wrote:
>
> I'll CC Haskell Libraries
> _______________________________________________
> Libraries mailing list
> Libr...@haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries

David Feuer

belum dibaca,
27 Nov 2019, 3:08:14 PTG27/11/19
kepada Baldur Blöndal, Ryan Scott, core-librari...@haskell.org, Haskell Libraries
If Backwards moves, then Reverse probably should too.

On Mon, Nov 25, 2019, 6:58 PM Baldur Blöndal <bald...@gmail.com> wrote:
I'll CC Haskell Libraries

þri., 12. nóv. 2019 kl. 22:14 skrifaði Ryan Scott <ryan.g...@gmail.com>:
_______________________________________________

chessai .

belum dibaca,
27 Nov 2019, 4:36:46 PTG27/11/19
kepada David Feuer, Baldur Blöndal, Ryan Scott, core-librari...@haskell.org, Haskell Libraries
I think that makes sense. It wouldn't be disruptive, both changes are small but useful.

Edward Kmett

belum dibaca,
5 Dis 2019, 12:43:32 PTG5/12/19
kepada chessai ., David Feuer, Baldur Blöndal, Ryan Scott, core-librari...@haskell.org, Haskell Libraries
I’m a strong +1 on moving Backwards and Reverse to base. This is basically free for everybody for a nice consistency win.

I’m -1 on exporting them from Control.Applicative. That module is imported unqualified by a significant cross section of the Haskell ecosystem, so this just gratuitously introduces risk of name conflicts for little tangible benefit. In the presence of possible conflicts there I’d err on the side of the status quo over change for change’s sake.

The only real precedent for doing so is that Control.Applicative also gratuitously exports Const, which is more historical accident than precedent to follow.

-Edward

On Nov 27, 2019, at 1:36 PM, chessai . <chess...@gmail.com> wrote:



Fumiaki Kinoshita

belum dibaca,
6 Jun 2020, 10:40:02 PG6/06/20
kepada Edward Kmett, chessai ., Baldur Blöndal, Haskell Libraries, core-librari...@haskell.org, Ryan Scott
Same as Edward; like Compose and Identity, I'm +1 to adding them into base but -1 to reexporting.

2019年12月6日(金) 2:43 Edward Kmett <ekm...@gmail.com>:
Balas kepada semua
Balas kepada pengarang
Kirim Semula
0 mesej baharu