1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-20 01:09:37 +01:00

* Allow function argument default values to refer to other arguments

of the function.  Implements NIX-45.
This commit is contained in:
Eelco Dolstra 2006-05-08 12:52:47 +00:00
parent 310e605995
commit 5cabd47394
5 changed files with 51 additions and 39 deletions

View file

@ -217,17 +217,17 @@ unsigned int ATermMap::size()
void printATermMapStats()
{
cout << "RESIZES: " << nrResizes << " "
cerr << "RESIZES: " << nrResizes << " "
<< sizeTotalAlloc << " "
<< sizeCurAlloc << " "
<< sizeMaxAlloc << endl;
cout << "SET: "
cerr << "SET: "
<< nrItemsSet << " "
<< nrSetProbes << " "
<< (double) nrSetProbes / nrItemsSet << endl;
cout << "GET: "
cerr << "GET: "
<< nrItemsGet << " "
<< nrGetProbes << " "
<< (double) nrGetProbes / nrItemsGet << endl;