On Apr 11, 2010, at 9:40 AM, Marc Weber wrote:

> Hi Yury!
> 
> derivation {
>  a = "${b}";
>  b = "${a}";
> }
> 
> what should be the result?

The result should be infinite recursion and an
interpreter "hang" with a naive implementation,
or an error message and FULLSTOP (or better, an exception)
during run-time evaluation with a correct implementation.

> So I'd limit this to replacing $out only.
> 

The problem of infinite recursion can/will reappear
no matter value ${out} has, as its intrinsic to lazy evaluation.

73 de Jeff
_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev

Reply via email to