Generalized falling back show + mimetype
まだ誰も着手していません。
評価
調査の方向性
src/mimesave.jl と既存の MimeWriter 実装から始めます。レジストリがファイルタイプをどのように表現しているかを確認し、MIME タイプと汎用的な showable チェックをそこにどのように組み込めるかを判断します。各 MIME ケースを個別に列挙する必要なく、フォールバック動作が一般化されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Right now we handle the fact that things can define show(::IO, mimetype, ::MyType), vis the MimeWriter
which we list just like any other library. Generally last.
I suggest that we should instead include in the registry a list of mime-types for each filetype.
and then we should have generic code that checks showable for each.
The code in the MimeWriter is basically all the same.
Since the full-full_fidelity IOContext should just be ignored by anything that doesn't know what to do with it;
and listing multiple would achieve the same as else-if that html has.
There is also an argument that these should be at the top of the priority list to try
This is because show is often defined by same library as defines the object.
As such it has the most informatiom about what it wants to do.
Futhermor, it will not normally require loading a dependency.
- 主要言語
- Julia
- スター
- 228
- フォーク
- 83
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
JuliaIO/FileIO.jl のほかの issue
-
Drop the hard `Pkg` dependency対応中かも @thchr が 26 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 52/100
-
Add SVGZ formatオープン
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
JuliaIO/FileIO.jl の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
-
question
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
brown-ccv/Chamber.jl#272 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
JuliaAstro/SolarPosition.jl#143 ·
-
distributions
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
JuliaBayes/Wren.jl#404 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
JuliaAI/MLJTransforms.jl#113 ·
メンテナーはふだん 1 日以内に返信