IntersectMBO/plutus

Data.AssocMap and Data.Value should use Data.List

Open

#6,933 创建于 2025年3月10日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)Haskell (511 fork)batch import
Good first issueInternalPlinthPlutus Ledger APIstatus: triaged

仓库指标

Star
 (1,637 star)
PR 合并指标
 (平均合并 15天 11小时) (30 天内合并 13 个 PR)

描述

After https://github.com/IntersectMBO/plutus/pull/6931 is merged, you can search for uses of toSOPList or unsafeFromSOPList and you'll see that lots of code in the ledger API or the standard library does conversions to and from SOP lists which is not ideal. This is because when we implemented Data-backed Map and Value, we didn't have a Data-backed List yet. We should refactor all of these cases where a Data-backed List would be more appropriate.

贡献者指南