lix-releng-staging/doc/manual
Eelco Dolstra 37d7abd694 * New language feature: with expressions.
The expression `with E1; E2' evaluates to E2 with all bindings in
  the attribute set E1 substituted.  E.g.,

    with {x = 123;}; x

  evaluates to 123.  That is, the attribute set E1 is in scope in E2.

  This is particularly useful when importing files containing lots
  definitions.  E.g., instead of

    let {
      inherit (import ./foo.nix) a b c d e f;

      body = ... a ... f ...;
    }

  we can now say

    with import ./foo.nix;

    ... a ... f ...

  I.e., we don't have to say what variables should be brought into scope.
2004-10-25 16:54:56 +00:00
..
bugs.xml * Use setre[ug]id() instead of setres[ug]id(), since the former is 2004-09-09 15:55:31 +00:00
installation.xml * Unindent. 2004-10-14 11:54:41 +00:00
introduction.xml * Better introduction. 2004-10-13 15:08:35 +00:00
Makefile.am * Split overview chapter into a chapter on package management and a 2004-10-14 11:55:12 +00:00
manual.xml * Split overview chapter into a chapter on package management and a 2004-10-14 11:55:12 +00:00
nix-collect-garbage.xml * `--min-age' flag in nix-store and nix-collect-garbage to only delete 2004-08-25 16:54:08 +00:00
nix-env.xml * By default, `nix-env -i' now deletes previously installed 2004-06-28 14:40:26 +00:00
nix-instantiate.xml * Lots of manual stuff. Reference pages for most Nix commands. 2004-02-10 16:14:47 +00:00
nix-lang-ref.xml * Documented the primops. 2004-04-08 15:51:26 +00:00
nix-prefetch-url.xml * Lots of manual stuff. Reference pages for most Nix commands. 2004-02-10 16:14:47 +00:00
nix-pull.xml * Lots of manual stuff. Reference pages for most Nix commands. 2004-02-10 16:14:47 +00:00
nix-push.xml * Lots of manual stuff. Reference pages for most Nix commands. 2004-02-10 16:14:47 +00:00
nix-store.xml * Instead of — use the actual Unicode character. By the way, to 2004-10-18 12:22:14 +00:00
opt-common-syn.xml * The default verbosity level of all Nix commands is now lvlInfo. 2004-08-18 12:19:06 +00:00
opt-common.xml * The default verbosity level of all Nix commands is now lvlInfo. 2004-08-18 12:19:06 +00:00
package-management.xml * New language feature: with expressions. 2004-10-25 16:54:56 +00:00
quick-start.xml * Split overview chapter into a chapter on package management and a 2004-10-14 11:55:12 +00:00
schemas.xml * Oops. 2003-12-21 22:02:58 +00:00
style.css * Better introduction. 2004-10-13 15:08:35 +00:00
troubleshooting.xml * Manual updates. 2004-01-08 15:01:37 +00:00
writing-nix-expressions.xml * Instead of — use the actual Unicode character. By the way, to 2004-10-18 12:22:14 +00:00