Skip to content

Support Traitor syntax? #4

Closed
Closed
@mauro3

Description

@mauro3

Should Traitor-like syntax sugar be added? Looks like:

@traitfn function howbig(x::Any::Big)
    "Huge!"
end

from the readme of https://github.com/andyferris/Traitor.jl. Would be equivalent to:

@traitfn function howbig{X; Big{X}}(x::X)
    "Huge!"
end

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