Why deprecate EncodingError?
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
Direzione di ricerca
Inizia leggendo l’issue #112 e verificando lo stato di deprecazione di EncodingError, OnEncodingError e DecodeError. Non vengono indicati file sorgente o test; determina se l’API pubblica debba mantenere il costruttore, con una decisione del maintainer che documenti cosa debba accadere in seguito.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
In #112, the decision was made to deprecate some of the error handling for encoding functions, on the basis that none of the library functions actually use them. That is indeed true, but only since it only provides UTF encoding functions -- that capability can still be helpful for people building on the library for compatibility encodings. The EncodingError constructor, especially, seems like it might be nice to keep around since it, unlike the OnEncodingErrortype, isn't something that can be reconstructed from the outside (for example, I'm not actually using the latter since the encoding I'm working with -- SHIFT JIS -- needs multiple bytes per character). It's nothing critical since I can just make my own replacements or otherwise work around the deprecations, but it just seems a bit closed-garden.
EDIT: I should say, I'm not even sure I want to use DecodeError due to the double-width characters, but the question still stands for the preponderance of historic single-byte encodings.
- Lingua principale
- Haskell
- Stelle
- 424
- Fork
- 167
- Merge medio
- 1g 21h
- PR unite (30g)
- 6
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di haskell/text
-
Relax constraints on decimal / hexadecimal from Data.Text.Read and Data.Text.Lazy.ReadForse già presa @Lysxia l’ha presa 148 giorni fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 64/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 38/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 42/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 45/100
-
Shrinking is Insanely Slow for `write_read`Forse già presa @BebeSparkelSparkel l’ha presa 926 giorni fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 30/100
Tutte le issue di haskell/text
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
haskell/bytestring#730 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
seal-harness/seal-harness#399 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
fmidue/codeworld-tasks#124 ·
-
allow haskell-src-exts-1.24Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
reflex-frp/reflex#563 ·