Skip to content

[feature request] - Alternate closure syntax #352

@nailuj29

Description

@nailuj29

It would be really cool if when a closure is the last argument of a function, you can use syntax similar to swift and kotlin:

functionWhichTakesAClosure(1, 2) { arg1, arg2 ->
	return arg1 + arg2
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions