Skip to content

Omitting effects means "please infer" #1140

@b-studios

Description

@b-studios

This is a counter proposal to #609.

def show(n: Int): String = <>

should mean

"please infer the effect"

instead of being syntax sugar for

def show(n: Int): String / {} = <>

This is more consistent to omitting types and we can still show the inferred effects in VSCode.

There might be backwards compatibility problems with overload resolution, but we'll see this when implemented.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions