这是indexloc提供的服务,不要输入任何密码
Skip to content

It seems inappropriate for a general Amount to privilege currency #36

@gibson042

Description

@gibson042

AFAICT, currency is redundant with unit and should therefore be dropped. There are lots of currency-like use cases not covered by ISO 4217 such as gaming applications (e.g., an economy of gold/silver/copper pieces or a magic system with convertible kinds of mana), and also cases that call for compound units consisting of multiple currencies (e.g., EUR-per-USD).

If distinct physical units that measure the same dimension are expressed via unit (e.g., meter vs. kilometer vs. foot), then the same should hold for the more abstract units of which currencies are an important but not unique example.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions