agrafix / agrafix/superrecord

`&` shadows the same operator in `Data.Function` in `base`

Aperta
#24 2 commenti 4 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Haskell
Stelle
83
Fork
16
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

`&` is usually [reserved](https://hoogle.haskell.org/?hoogle=%26) for a function of type [`a -> (a -> b) -> b`](https://hoogle.haskell.org/?hoogle=a-%3E(a-%3Eb)-%3Eb), but superrecord's `&` shadows it

Also, because of #17, it's impossible right now (with the hackage version) to just re-export it with a different name.

I understand that changing that name would be a huge breaking change, how about deprecating it and using something else? I'd use `&=`, but I must admit I haven't surveyed the conventions enough to be confident in my suggestion

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.