Skip to content

Unitful.Angle? #216

@m-wells

Description

@m-wells

Perhaps a callback to #38 I think it would be useful to define an Angle "type".

I've hacked this
const Angle = Union{typeof(1rad),typeof(1.0rad),typeof(1°),typeof(1.0°)}
I don't see how this would be inherently different from something like Unitful.Time.

This is most useful in terms of dispatch. Structures benefit from concrete types.

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