Skip to content

The whole explanation for the difference between block and closure is LTA #3670

@JJ

Description

@JJ

Problem

The example for closures includes a block that is "not run", and defines closures as blocks that "do not stand alone as statements".

Suggestions

I don't really see the difference. They're still blocks. Also, the example does not include an actual use case: it simply drops a block in place of a statement. We should always show intent #1748

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation issue (primary issue type)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions