Skip to content

Method identifiers #309

@ppolesiuk

Description

@ppolesiuk

It would be nice to allow accessing to a function representing a method without η-expanding it. We agreed on the following syntax (in the grammar of identifiers).

  1. (.m) for a method m assigned to a type that should be inferred by a type-checker.
  2. (.m of T) for a method m assigned to a type T.

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. parsingThings related to lexer and parser1. type inferenceType inference and the Unif language

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions