Skip to content

Can't link to higher rank function in docs #3499

Open
@pchiusano

Description

for instance {{ @signature{Scope.run} }} doesn't work. It's due to the fact that our type system doesn't do impredicative instantiation.

@runarorama suggested the following "hack"

Modify the render for Doc.Term - if it's Any (blah ; ()), just show that as blah. Maybe use special () type.

Pretty-printer would also have to detect this and reverse it.

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions