Skip to content

Recursive type checking for custom types #11

Description

@dabernado

Custom types currently cannot apply type parameters to constructor type arguments. Ideally, they could be used like such:

(deftype (:Tree x)
    (leaf x)
    (node (:Tree x) (:Tree x)))

This is going to require adding a clause to defineConsts to evaluate this syntax, as well as refactoring the type checking for custom types to support it.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions