[Nix-dev] What does `self` mean in the function `ghcWithPackages`?

Vladimír Čunát vcunat at gmail.com
Tue Dec 16 15:16:24 CET 2014


On 12/16/2014 12:16 PM, Oliver Charles wrote:
> On Tue, Dec 16, 2014 at 11:01 AM, Vladimír Čunát wrote:
>     Obviously, ``self`` is the parameter of the whole
>     haskell-packages.nix top-level function (line 58 in recent master
>     version).
>
> If it was obvious, I don't think Carlo would be asking this question ;)

I rather meant one can find the definition of ``self`` relatively 
easily. But finding the purpose is probably not easy at all if one 
doesn't know that pattern. I certainly didn't mean to imply that the 
question was trivial.


Vladimir


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3251 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20141216/585ef309/attachment-0001.bin 


More information about the nix-dev mailing list