Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-12-18 | Replace Value type setters with mk* functions | Silvan Mosberger | |
Move clearValue inside Value mkInt instead of setInt mkBool instead of setBool mkString instead of setString mkPath instead of setPath mkNull instead of setNull mkAttrs instead of setAttrs mkList instead of setList* mkThunk instead of setThunk mkApp instead of setApp mkLambda instead of setLambda mkBlackhole instead of setBlackhole mkPrimOp instead of setPrimOp mkPrimOpApp instead of setPrimOpApp mkExternal instead of setExternal mkFloat instead of setFloat Add note that the static mk* function should be removed eventually | |||
2020-12-17 | Rename Value::normalType() -> Value::type() | Silvan Mosberger | |
2020-12-12 | Add ValueType checking functions for types that have the same NormalType | Silvan Mosberger | |
2020-12-12 | Use Value::normalType on all forced values instead of Value::type | Silvan Mosberger | |
2020-12-12 | Introduce Value type setters and make use of them | Silvan Mosberger | |
2020-06-23 | use plain errPos instead of nixCode; fix tests | Ben Burdette | |
2020-06-15 | Get rid of explicit ErrorInfo constructors | Eelco Dolstra | |
2020-05-12 | move pos to the first arg, to indicate its not used in a fmt template | Ben Burdette | |
2020-05-11 | Merge branch 'master' into errors-phase-2 | Ben Burdette | |
2020-05-08 | add pos to errorinfo, remove from hints | Ben Burdette | |
2020-04-21 | remove 'format' from Error constructor calls | Ben Burdette | |
2020-04-16 | pass Pos to forceValue to improve infinite recursion error | Domen Kožar | |
2018-06-12 | GC_malloc -> GC_MALLOC | Eelco Dolstra | |
This makes it possible to build with -DGC_DEBUG. | |||
2018-06-12 | Remove duplicate definition of allocBytes() | Eelco Dolstra | |
2017-06-20 | Restore thunks on any exception | Eelco Dolstra | |
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: Simplify | Eelco Dolstra | |
2015-10-08 | forceFunction: allow functors as well | Mathnerd314 | |
2015-08-03 | Removed unnecessary included | Iwan Aucamp | |
2015-07-31 | Fix stack consumption | Eelco Dolstra | |
2015-07-31 | Output line number on infinite recursion | Iwan Aucamp | |
2015-07-23 | Optimize small lists | Eelco Dolstra | |
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 info | Eelco Dolstra | |
2014-04-04 | forceList: Show position info | Eelco Dolstra | |
2014-04-04 | Include position info in function application | Eelco Dolstra | |
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 stack | Eelco Dolstra | |
2013-10-24 | Rename "attribute sets" to "sets" | Eelco Dolstra | |
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 occurs | Eelco Dolstra | |
Fixes Hydra bug #67. | |||
2012-07-18 | Use "#pragma once" to prevent repeated header file inclusion | Eelco Dolstra | |
2012-02-04 | * Inline some functions and get rid of the indirection through | Eelco Dolstra | |
EvalState::eval(). This gives a 12% speedup on ‘nix-instantiate /etc/nixos/nixos/ -A system --readonly-mode’ (from 1.01s to 0.89s). |