CatQueue: prepend

Aperta
#32 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

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

Direzione di ricerca

The issue refers to the Semigroup instance and append implementation discussed in pull request #30, but names no files or tests. Read that pull request and locate the CatQueue operations to assess how a prepend using reverse and foldl cons would fit. Done means the left queue's elements are prepended in order; the issue does not specify expected tests or behavior beyond that.

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

Descrizione

status: needs more info

The Semigroup instance and append in https://github.com/purescript/purescript-catenable-lists/pull/30 are implemented as foldl snoc that appends successive elements from the CatQueue on the right. In most cases, that's probably what you'd want. One could also implement a prepend as a reverse and foldl cons of elements from the left CatQueue.

Lingua principale
PureScript
Stelle
22
Fork
11
Merge medio
2g 23h
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-catenable-lists

Tutte le issue di purescript/purescript-catenable-lists

Issue simili

Altre issue su Backend & API Design

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.