Skip to content

Field name consistency #22

Closed
Closed
@slevin

Description

@slevin

I'm super new to Purescript, but working with this library the first time, I did run into the fact that type Rectangle uses "w" and "h" for width and height but type Dimension uses "width" and "height", and TextMetrics uses "width". Given the touted benefits of row polymorphism; wouldn't it be better if they were consistent? I'm aware this would break a lot of existing code, though. I'm happy to make a PR for it if you like.

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