aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/expressions
AgeCommit message (Collapse)Author
2017-11-01Mention isFloat function in "Built-in Functions" sectionZoran Plesivčak
2017-11-01Mention "float" type in builtins.typeOf section of the docsZoran Plesivčak
+ remove trailing whitespace from the file
2017-10-26Clarify indented string escaping rulesOrivej Desh
2017-10-26Describe "with" scoping precedenceOrivej Desh
2017-10-26Describe arithmetic operatorsOrivej Desh
2017-08-18update MD5 to SHA-256 in expression-syntaxChase Adams
2017-08-16Merge branch 'tokenize' of https://github.com/nbp/nixEelco Dolstra
2017-08-15Add builtins.string function.Nicolas B. Pierron
The function 'builtins.split' takes a POSIX extended regular expression and an arbitrary string. It returns a list of non-matching substring interleaved by lists of matched groups of the regular expression. ```nix with builtins; assert split "(a)b" "abc" == [ "" [ "a" ] "c" ]; assert split "([ac])" "abc" == [ "" [ "a" ] "b" [ "c" ] "" ]; assert split "(a)|(c)" "abc" == [ "" [ "a" null ] "b" [ null "c" ] "" ]; assert split "([[:upper:]]+)" " FOO " == [ " " [ "FOO" ] " " ]; ```
2017-08-15Move builtins.match documentation between map and mul.Nicolas B. Pierron
2017-07-15use sha256 hashes in the examplesHarmen
And fix a dead link.
2017-05-29Merge pull request #1393 from pyrtsa/patch-1Eelco Dolstra
Fix variable name typo in derivations doc
2017-05-28Remove stray `>` in builtins docPyry Jahkola
2017-05-28Fix variable name typo in derivations docPyry Jahkola
2017-05-24Merge pull request #1382 from FRidh/patch-1Eelco Dolstra
Document fetchTarball can take a sha256
2017-05-17Document that builtins.match takes a POSIX extended REEelco Dolstra
2017-05-11Document fetchTarball can take a sha256Frederik Rietdijk
Note that I refer to `nix-prefetch-url`.
2017-05-10TypoEelco Dolstra
2017-05-10doc: builtins.attrNames returns alphabetically sorted listDomen Kožar
2017-04-17Manual: document tryEvalLinus Heckemann
2017-02-21Fix XML validityEelco Dolstra
2017-02-20Document toString betterLinus Heckemann
2016-12-11Document path-search behaviourLinus Heckemann
2016-12-09Document builtins.match, fixes #1145Domen Kožar
2016-09-21Document the { __toString } interfacezimbatm
2016-08-26doc: move set functor para to Sets sectionDomen Kožar
2016-08-11doc: add an example for builtins.substringDomen Kožar
2016-08-10s/powerpc-darwin/x86_64-darwin/Domen Kožar
Let's step in line with time and document more realistic values.
2016-05-30Merge pull request #576 from qknight/args_explanationDomen Kožar
extended args@ explanation
2016-05-30Update language-constructs.xmlJoachim Schiele
2016-05-30Update language-constructs.xmlJoachim Schiele
2016-04-26fix "nix-build" examplesScott R. Parish
The existing "nix-build" examples were failing: error: cannot auto-call a function that has an argument without a default value (‘system’) Thanks to @groxxda on irc for pointing out the fix! Updated to completely remove unneeded path argument, suggested by @joachifm Updated to remove other occurences of `all-packages.nix` from files as suggested by @domenkozar
2016-02-12Merge pull request #762 from ctheune/ctheune-floatsEelco Dolstra
Implement floats
2016-01-06Update documentation for floats.Christian Theune
2016-01-05manual: document builtins.functionArgsVladimír Čunát
The text is just a conversion of comment from src/libexpr/primops.cc
2015-09-01Fix readDir exampleEelco Dolstra
Fixes https://github.com/NixOS/nixos-homepage/issues/46.
2015-07-28Add sort primopEelco Dolstra
2015-07-28Add primop genListEelco Dolstra
This can be used to implement functions like ‘imap’ (or for that matter, ‘map’) without the quadratic complexity incurred by calling ‘++’ repeatedly.
2015-07-24Add replaceStrings primopEelco Dolstra
This is a generalisation of replaceChars in Nixpkgs.
2015-07-23Add primops all and anyEelco Dolstra
These are used thousands of times during NixOS evaluation, so it's useful to speed them up.
2015-07-23Add foldl' primopEelco Dolstra
2015-07-07extended args@ explanationJoachim Schiele
2015-06-01Document tarball downloadingEelco Dolstra
2015-02-19Allow the leading component of a path to be a ~Shea Levy
2015-02-17Use $<attr>Path instead of $<attr> for passAsFileEelco Dolstra
2015-02-17Allow passing attributes via files instead of environment variablesEelco Dolstra
Closes #473.
2015-02-17Keep sortedEelco Dolstra
2015-01-08Fix typo (assuming this is a typo)Данило Глинський (Danylo Hlynskyi)
Fix typo (assuming this is a typo) `allowedRequisites` mentions `allowedReferences` in code example
2014-12-14Add section on SSH substituterEelco Dolstra
2014-12-14Delete the stdenv sectionEelco Dolstra
It's outdated and better covered in the Nixpkgs manual.
2014-11-15Document functorsShea Levy