Hacker News new | ask | show | jobs
by yencabulator 1418 days ago
And that, ladies and gentlemen, summarizes the attitude you'll get from Nix people.

By antiquotation you mean evaluating things inside ${}, which is a standard thing in many, many places, including shell and Javascript.

Meanwhile, https://nixos.org/manual/nix/stable/expressions/language-val... has gems such as this:

> Since ${ and '' have special meaning in indented strings, you need a way to quote them. $ can be escaped by prefixing it with '' (that is, two single quotes), i.e., ''$. '' can be escaped by prefixing it with ', i.e., '''. $ removes any special meaning from the following $. Linefeed, carriage-return and tab characters can be written as ''\n, ''\r, ''\t, and ''\ escapes any other character.

1 comments

> By antiquotation you mean evaluating things inside ${}, which is a standard thing in many, many places, including shell and Javascript.

No, I absolutely do not.