Why deprecate EncodingError?
まだ誰も着手していません。
評価
調査の方向性
まず issue #112 を読み、EncodingError、OnEncodingError、DecodeError の非推奨 status を確認してください。ソースファイルやテストは指定されていません。public API で constructor を保持すべきかを判断し、次に何を行うべきかを maintainer の決定として文書化してください。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Haskell
- スター
- 424
- フォーク
- 167
- 平均マージ
- 1日 21時間
- マージ済み PR(30日)
- 6
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
haskell/text のほかの issue
-
Relax constraints on decimal / hexadecimal from Data.Text.Read and Data.Text.Lazy.Read対応中かも @Lysxia が 148 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 64/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 38/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 42/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
-
Shrinking is Insanely Slow for `write_read`対応中かも @BebeSparkelSparkel が 926 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 30/100
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
haskell/bytestring#730 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
seal-harness/seal-harness#399 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
fmidue/codeworld-tasks#124 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
reflex-frp/reflex#563 ·