Ryan Trinkle
d8a66c09ab
Ellipsis shouldn't introduce anything into scope
2019-03-09 17:59:59 -05:00
Domen Kožar
58a83622eb
GHC 8.6 support
2018-11-20 23:44:59 +00:00
Ryan Trinkle
0a82ab26ce
Merge remote-tracking branch 'origin/pending' into abstract-scopes
2018-11-18 15:04:30 -05:00
Ken Micklas
a0a89248e9
Use principledMakeNixStringWithoutContext in assembleString
2018-11-17 18:40:22 -05:00
Ryan Trinkle
d60130c566
Abstract Scopes
2018-11-17 16:21:03 -05:00
Ken Micklas
4018fd0ccf
Change the only use of hackyStringMConcat to principledStringMConcat
2018-11-17 13:51:47 -05:00
gb
4baa4f7108
change Nix.NixString module to Nix.String
2018-09-23 16:03:44 -04:00
gb
cfa4824fb3
remove semigroup monoid and replace with nixstring methods
2018-09-16 14:02:02 -04:00
gb
ae6725871b
removed executable permissions
2018-09-15 20:32:38 -04:00
gb
6f1ed3c2e9
documented methods;added more methods with deprecation
2018-09-15 20:04:54 -04:00
gb
2fadbe3090
add new nixstring version with warnings
2018-09-09 11:01:09 -04:00
gb
fd2bbb66e9
fixes to match latest master: tests ran
2018-07-28 15:32:15 -04:00
gb
ea3b675f28
update fork from master
2018-07-28 13:23:23 -04:00
John Wiegley
f59a17db72
Some refactoring and simplification in Eval.hs
2018-05-10 00:33:46 -07:00
John Wiegley
d805fa3627
Preserve attr name positions in attrSetAlter
2018-05-10 00:09:42 -07:00
John Wiegley
31f3dc0766
Desugar NSet binds as well as NRecSet, remove an always True parameter
...
Fixes #310
2018-05-09 15:03:11 -07:00
John Wiegley
bcadd1f89b
Tiny refactor
2018-05-09 14:39:21 -07:00
John Wiegley
15baa5c8b8
Track attribute source positions in the binding, not the key name
2018-05-09 01:25:01 -07:00
gb
43c145252d
NixString is in its own module hiding the constructors
2018-05-08 16:47:50 -04:00
John Wiegley
f1faf50bcb
Merge branch 'master' into string_context_255
2018-05-06 10:47:23 -07:00
John Wiegley
11a89d2b40
Add a Calling info frame
2018-05-06 00:35:21 -07:00
gb
8e7d9d32fa
add string context
2018-05-03 08:07:54 -04:00
John Wiegley
fe4629c3a4
More fixes to type inference
2018-05-02 15:08:53 -07:00
John Wiegley
18fc312112
Further corrections to type checking functions that take sets
2018-05-02 13:46:32 -07:00
John Wiegley
8538859230
Work on type inference for functions that take attr sets
2018-05-01 21:50:50 -04:00
John Wiegley
acda2b3337
Use Exception rather than Frame, reduce constraints imposed by forceThunk
2018-05-01 20:34:41 -04:00
John Wiegley
45beddb7d7
Revise the arguments to MonadEval.evalString
2018-04-30 21:48:45 -04:00
John Wiegley
107dd82401
Weaken the constraints required by MonadEval
2018-04-30 21:48:45 -04:00
John Wiegley
3b738e3aa3
Relieve MonadEval of an unnecessary constraint
2018-04-30 21:48:45 -04:00
John Wiegley
100c41db6d
Run the repl in the same MonadNix environment as Main.hs
...
Fixes #204
2018-04-28 16:26:32 -07:00
John Wiegley
6c2149f767
Remove code TODOs, which have been changed into GitHub issues
2018-04-26 17:13:22 -07:00
John Wiegley
05ca87a732
Several improvements to error reporting; add new --thunks option
2018-04-25 13:00:41 -07:00
John Wiegley
7af4c13455
Some minor improvements to evalSelect
2018-04-25 01:10:25 -07:00
John Wiegley
35b1071665
A few more provenance fixes, but more to come
2018-04-24 23:24:26 -07:00
John Wiegley
68d81dd57c
More work on provenance reporting
2018-04-24 23:09:43 -07:00
John Wiegley
01bcb86d3f
Further improvements to error rendering, but not all done yet
2018-04-24 11:12:20 -07:00
John Wiegley
9864a8c7a5
Rework the way that info frames and error are handled
...
There is still work to be done to render the new "typed frames", and to
convert all the current string based frame into typed frames. This will pave
the way forward to smarter error messages that can be browsed in intelligent
environments like Emacs and the browser.
2018-04-24 02:15:28 -07:00
John Wiegley
4ff0c483bf
Improve printing of provenance information, add more info
2018-04-23 10:06:49 -07:00
John Wiegley
96a0c387dd
Merge Nix.Trace and Nix.Reduce into Nix.Reduce
...
Since almost all of that code had to do with program reduction. addTracing and
tracingEvalExpr have moved into Exec.hs, since they depend on MonadNix.
2018-04-21 10:28:09 -07:00
John Wiegley
8a93068102
Rename Nix.Core back to Nix.Eval, since Nix.Eval was now almost empty
2018-04-21 10:11:34 -07:00
John Wiegley
86b09103d6
Move production of a reduced test case to --reduce, improve --trace
2018-04-20 22:36:40 -07:00
John Wiegley
47e8829a28
Rename Nix.StringOperations to Nix.Strings
2018-04-20 17:05:21 -07:00
John Wiegley
4163d35a09
nixpkgs allows let with no bindings in some places
...
At the beginning of arangodb/default.nix:
```
{ stdenv, fetchFromGitHub
, openssl, zlib, python2Packages, readline, cmake, python }:
let
in stdenv.mkDerivation rec {
version = "3.3.4";
name = "arangodb-${version}";
```
2018-04-18 23:42:13 -07:00
John Wiegley
40742d3b7b
Remove some tracing statements
2018-04-18 23:21:30 -07:00
John Wiegley
0ff6c7a1e4
Move tracing code into its own file
2018-04-18 21:43:18 -07:00
John Wiegley
dc421037d3
First take at extending tracing evaluator to print the evaluated tree
2018-04-18 21:39:50 -07:00
John Wiegley
c1accf39f4
Some changes to the tracing info
2018-04-18 17:35:05 -07:00
John Wiegley
8ae7cd3c7d
Add additional tracing statement around NSelect
2018-04-18 16:45:43 -07:00
John Wiegley
7188c71d0a
Add more evaluation context information, for -v2 or higher
2018-04-18 16:12:31 -07:00
John Wiegley
2bce4f818d
Add more tracing statements in Eval.hs
2018-04-18 16:10:04 -07:00