aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/expressions/builtins.xml
AgeCommit message (Collapse)Author
2017-12-11Add builtins.concatStringSep to the manualChris Martin
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-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-28Remove stray `>` in builtins 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-09Document builtins.match, fixes #1145Domen Kožar
2016-09-21Document the { __toString } interfacezimbatm
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-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-06-01Document tarball downloadingEelco Dolstra
2014-10-29Document some primopsEelco Dolstra
2014-08-27Restructuring the Nix manualMikey Ariel