Skip to content

Explicit instantiation of effect in handlerfn #349

Description

@forell

Currently, the effect passed to the computation in handlerfn is always left up to the effect inference, but it would be nice to optionally specify it explicitly. During a meeting we ended up with the following syntax proposal for this feature, where E is the handled effect.

handlerfn
  defs in {E} cap
end

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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