`Data.Traversable` re-exports `sum` from `Data.Foldable` but not `product`

Aperta
#137 5 commenti 0 reazioni 0 assegnatari Vedi su GitHub

@triallax ci sta già lavorando.

Dal 3/7/2021.

  • #138 di @triallax — aperta

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Ambito
backend

Direzione di ricerca

The issue points to the re-exports changed in PR #131 and says the product name conflicts with another import. Read that diff and the open PR #138 to see the current proposed change and its status. The issue gives no file or test path; done means resolving whether Data.Traversable should re-export product and ensuring the import conflict is handled.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

type: enhancement

I find this to be a bit strange. Is there any difference that warrants one being re-exported but not the other, or was this an oversight?

Edit: this change appears to have been made in #131: https://github.com/purescript/purescript-foldable-traversable/pull/131/files#diff-4f5e121551e9770d2d2d5b35e21259033cc208f148e65fb21fc5ca87a3ecd0b3L15. product was the only function to be removed from the re-exports, so I think this was an actual oversight.

Edit 2: actually, this was removed because of an import of another, different product: https://github.com/purescript/purescript-foldable-traversable/pull/131/files#diff-4f5e121551e9770d2d2d5b35e21259033cc208f148e65fb21fc5ca87a3ecd0b3R22

Lingua principale
PureScript
Stelle
51
Fork
57
Merge medio
3g 14m
PR unite (30g)
1

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di purescript/purescript-foldable-traversable

Tutte le issue di purescript/purescript-foldable-traversable

Issue simili

Altre issue su Backend & API Design

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.