Skip to content

Semicolons are used without defining their use and meaning in the Nix language #21

Description

@WayneSherman

Semicolons ";" are first used in the example here:

let attrs = { a = 15; b = builtins.throw "Oh no!"; };

But their syntactical use and meaning in the Nix language has not been defined.

I cannot confirm if this is completely accurate, but according to ChatGPT:
"In the Nix language, semicolons are used to terminate expressions within attribute sets, function arguments, and let bindings. They signify the end of one statement and the separation from the next, ensuring clear demarcation of different elements within these constructs."

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