Skip to content

additional parameters for fully parametric #28

@fredcallaway

Description

@fredcallaway

It would be nice to be able to add additional type parameters when using @qstruct_fp. This allows one to express constraints on the relationships between the types. For example:

@qstruct_fp Map{T}(lambda::Lambda{Bool,T}, list::List{T})

Looking at the expansion, it seems that the {T} supersedes the T1 and T2 that would normally be added. I'd like to get Map{T,A<:Lambda{Bool,T},B<:List{T}}.

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