You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been thinking about a new design for the API, which does not rely on Symbol as the kind of base units, and does not require the quasi-quoter to write literals.
The library should provide this:
dataUnitKindtypeUnit=UnitKind->Type
Now user code can define empty datatypes representing base units, and type synonyms for units:
I've been thinking about a new design for the API, which does not rely on
Symbol
as the kind of base units, and does not require the quasi-quoter to write literals.The library should provide this:
Now user code can define empty datatypes representing base units, and type synonyms for units:
and at the value level:
thus we can write:
The text was updated successfully, but these errors were encountered: