Skip to content

Confusion about Newtype vs NewType #5

@mpurins-nc

Description

@mpurins-nc

Hi,

First of all thanks for this library -- I really like usage without annotations (I'm a bit allergic to them :D).

I have small suggestion for improving usability a bit.
Currently there are two types which can both be imported by import supertagged._ but they only differ in name by one letter change from lower case to upper case -- those are NewType and Newtype. Considering that one of them is used to create newtypes and other is not it got me confused for a bit when I typed extends Newtype[Int] and it didn't work.

I suppose simple renaming of one of them to something less confusing would work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions