AlgebraicJulia / AlgebraicJulia/ACSets.jl

`Base.similar` method for acsets

オープン
#65 コメント 1 件 リアクション 0 件 担当者 1 名 @quffaro が担当を希望しています GitHub で見る
enhancement
主要言語
Julia
スター
36
フォーク
11
PR マージ指標
30日以内にマージされた PR はありません

説明

There are some places in the code (for instance in the nauty integration, but I bet not just there) where we copy or even `deepcopy` a whole acset just to get an acset of the same shape that we'll then overwrite. It might be nice to write a method of `Base.similar` that copies an acset's shape (i.e. attrtypes and cardinalities of homs) but leaves everything uninitialized for this kind of situation. I don't know enough about columns to know whether this would be trivial or annoying.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。