agrafix / agrafix/superrecord

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

Ouverte
#24 2 commentaires 4 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Haskell
Étoiles
83
Forks
16
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

`&` 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

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.