Skip to content

NoneType #1534

@rolyp

Description

@rolyp

PurePy has a data type called NoneType (not sure if you can actually name it) with a single constructor, None. That's all fine and dandy but I think Fluid will be quite restrictive about this compared to Python, at least initially: in Python you can have a value whose (effective) type is NoneType | SomeOtherDataClass and still pattern-match on the value; not sure how we can support that easily in Fluid.

  • Rename Unit to NoneType

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for Content.

    Projects

    Status

    Planned

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions