Skip to content

Adding an operator like Haskell's '$' #1845

Description

@Ekleog

The title says it all, I'm thinking it would be useful for eg.

builtins.trace "my debug stuff" $
# some multiline complex code that would require parenthesing otherwise

What do you think about it? I guess it's too late for the feature freeze, but $ being already reserved for ${} I guess it wouldn't be a breaking change anyway.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

featureFeature request or proposallanguageThe Nix expression language; parser, interpreter, primops, evaluation, etc

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions