[Nix-dev] Small Question on Strings, Attributes & Functions

Vladimír Čunát vcunat at gmail.com
Thu Aug 25 22:31:14 CEST 2016


On 08/24/2016 01:04 PM, Matan Shenhav wrote:
> Is there a resource covering the rules for variables, values and
> functions? I am still somewhat confused because if I define func = x:
> x=="x" I do not need to antiquote with ${}.

That function compares its (first) parameter with a single-character
string. With antiquotation it would do something else.

--Vladimir


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3771 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20160825/8251a08f/attachment-0001.p7s>


More information about the nix-dev mailing list