Possibly create other `MonadGet` and `MonadPut` instances
まだ誰も着手していません。
評価
調査の方向性
ファイル、テスト、またはエントリポイントは指定されていません。まず MonadGet と MonadPut のクラス定義および既存のシリアライゼーションインスタンスを見つけ、次に圧縮、暗号化、またはハッシュアキュムレーターのインスタンスをこのパッケージに置くべきか、別のパッケージに置くべきかを判断してください。スコープと完了基準についてはメンテナーの合意が必要です。
索引モデルが issue の本文から書いたものです。
説明
Something that is nice about having MonadGet and MonadPut as classes is you can use the same serialization logic for different purposes. For instance, you can create a MonadPut instance based on a cryptographic hash accumulator, and now your serialization code for your type doubles for creating hashes. Maybe a bit ad hoc, but it works great!
Here are a couple other ideas for instances:
- A compressing
MonadPutandMonadGet. So you write and read from it as normal, but it's doing incremental compression and decompression. Perhaps you can get the same thing serializing to a lazy bytestring, then compressing that, but it's probably faster to just have the instances do this directly. - An encrypting
MonadPutandMonadGet. Again, you read and write as normal, but it's encrypting / decrypting as you go.
Not sure if you'd want include any of these in this package, but just wanted to get your thoughts. Maybe such instances belong in a separate package that depends on bytes?
- 主要言語
- Haskell
- スター
- 23
- フォーク
- 13
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ekmett/bytes のほかの issue
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
I miss isolateオープン
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
似ている issue
-
agent-ready area:skills
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
jmbarzee/temporal-architect#603 ·
メンテナーはふだん 1 日以内に返信
-
bug dependencies
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
alunduil/network-arbitrary#251 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
`logProbability` returns `NaN` for the Poisson distribution with `λ = 0`対応中かも @youqad が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
haskell/statistics#235 ·
-
Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100