Skip to content

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

@Ekleog

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.

Metadata

Metadata

Assignees

Labels

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

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions