From 268d90a03eaab95d13c1326d58fb2287c628aedc Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 5 Nov 2009 09:07:43 +0000 Subject: * Various updates. --- doc/manual/nix-lang-ref.xml | 95 --------------------------------------------- 1 file changed, 95 deletions(-) (limited to 'doc/manual/nix-lang-ref.xml') diff --git a/doc/manual/nix-lang-ref.xml b/doc/manual/nix-lang-ref.xml index bda0ff5432db..86273ac3d016 100644 --- a/doc/manual/nix-lang-ref.xml +++ b/doc/manual/nix-lang-ref.xml @@ -178,100 +178,5 @@ - - - - - Semantics - - - - - Built-in functions - - - The Nix language provides the following built-in function - (primops): - - - - - - import - e - - - Evaluates the expression e, - which must yield a path value. The Nix expression - stored at this path in the file system is then read, - parsed, and evaluated. Returns the result of the - evaluation of the Nix expression just read. - - - - Example: import ./foo.nix evaluates - the expression stored in foo.nix - (in the directory containing the expression in which the - import occurs). - - - - - - derivation - e - - - Evaluates the expression e, - which must yield an attribute set. [...] - - - - - - baseNameOf - e - - - Evaluates the expression e, - which must yield a string value, and returns a string - representing its base name. This - is the substring following the last path separator - (/). - - - - Example: baseNameOf "/foo/bar" - returns "bar", and - baseNameOf "/foo/bar/" returns - "". - - - - - - toString - e - - - Evaluates the expression e - and coerces it into a string, if possible. Only - strings, paths, and URIs can be so coerced. - - - - Example: toString - http://www.cs.uu.nl/ returns - "http://www.cs.uu.nl/". - - - - - - - - - - -- cgit 1.4.1