[Nix-dev] Attribute selection with default

Michael Raskin 7c6f434c at mail.ru
Thu Sep 24 14:21:17 CEST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Eelco Dolstra wrote:
> Well, given that this would be only the fourth minor syntax addition in about
> two years (after a.b.c syntax in attribute sets, ellipses in function arguments,
> and @-patterns - and one feature removal), Perl is quite far off ;-)

The problem is not about the count. Previous additions were nice for
reading from the beginning to the end. This is less nice.

> Also, tryEval (i.e. exception handling) is potentially a much more radical
> addition to the language (especially since it doesn't really fit in a purely
> functional language).

Why doesn't it fit? It doesn't depend on order of evaluation, and its
result only depends on what it is passed.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJKu2Q8AAoJEE6tnN0aWvw3Q5wH/0G8Qkcx+GiP1t+zVW39ZSBO
CnaVK2eKmWtufu4QZ0ouyIHlmeNmS99XeTxOzU727NFkG4Fr5i/EoW13iwKxVJ3i
gVwssg95MO3d7UmJCcDwBTEMHPdl/CTC5dW5Nxj+7yLvP+/IUQuwmB1LU2hN3g0y
p00J28oDnLgjsBITGgjPxRUJR6XhTllyvFnc2hllFZHWt6MZ5hWfMdF6cOUAaj3V
0Z59npNUsi0K3ECDM5NsonI6GAsSPjr1abulFaofg5OBXVKpv32p1+5y2RdQZBCH
V6DtcVLvQkJ2kozvBNDXQCwtzSVqtMvQtnmZhdVXuo9/NlxKYPVYd+OpmV3JHuY=
=/ShD
-----END PGP SIGNATURE-----



More information about the nix-dev mailing list