Skip to content

Better syntax for effect annotations on Function types #11

Description

@lrytz

Currently function types have to be effect-annotated using a refined type:

val pureFun: (Int => Int) { def apply(x: Int): Int @pure } = ...

It would be nice to support something as simple as Int => Int @pure.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions