about summary refs log tree commit diff
path: root/src/libexpr/eval-inline.hh
AgeCommit message (Collapse)AuthorFilesLines
2017-06-20 Restore thunks on any exceptionEelco Dolstra1-1/+1
There's no reason to restrict this to Error exceptions. This shouldn't matter to #1407 since the repl doesn't catch non-Error exceptions anyway, but you never know...
2015-10-08 isFunctor: SimplifyEelco Dolstra1-11/+0
2015-10-08 forceFunction: allow functors as wellMathnerd3141-0/+10
2015-08-03 Removed unnecessary includedIwan Aucamp1-1/+0
2015-07-31 Fix stack consumptionEelco Dolstra1-3/+3
2015-07-31 Output line number on infinite recursionIwan Aucamp1-4/+5
2015-07-23 Optimize small listsEelco Dolstra1-2/+2
The value pointers of lists with 1 or 2 elements are now stored in the list value itself. In particular, this makes the "concatMap (x: if cond then [(f x)] else [])" idiom cheaper.
2014-04-04 forceAttrs: Show position infoEelco Dolstra1-0/+8
2014-04-04 forceList: Show position infoEelco Dolstra1-0/+15
2014-04-04 Include position info in function applicationEelco Dolstra1-1/+1
This allows error messages like: error: the anonymous function at `/etc/nixos/configuration.nix:1:1' called without required argument `foo', at `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix:77:59'
2013-11-12 Get rid of an intermediary on the stackEelco Dolstra1-4/+4
2013-10-24 Rename "attribute sets" to "sets"Eelco Dolstra1-1/+1
We don't have any other kind of sets so calling them attribute sets is unnecessarily verbose.
2013-03-14 Make sure that thunks are restored properly if an exception occursEelco Dolstra1-3/+6
Fixes Hydra bug #67.
2012-07-18 Use "#pragma once" to prevent repeated header file inclusionEelco Dolstra1-6/+1
2012-02-04 * Inline some functions and get rid of the indirection throughEelco Dolstra1-0/+61
EvalState::eval(). This gives a 12% speedup on ‘nix-instantiate /etc/nixos/nixos/ -A system --readonly-mode’ (from 1.01s to 0.89s).