1
1
mirror of https://github.com/github/semantic.git synced 2024-12-23 23:11:50 +03:00
Commit Graph

21541 Commits

Author SHA1 Message Date
Rob Rix
e40a549ee3 Swap the order of the term & location parameters to Configuration, Cache, and Cacheable. 2018-05-09 13:46:40 -04:00
Rob Rix
5c668b3a0c Space out/align the Cache instances. 2018-05-09 13:41:24 -04:00
Rob Rix
beba4de7c5 Rename the Cache type parameters. 2018-05-09 13:39:42 -04:00
Rob Rix
b359cc91a3 Reformat Configuration. 2018-05-09 13:38:19 -04:00
Rob Rix
05fc6af9f6 Align/space out the Configuration instances. 2018-05-09 13:37:58 -04:00
Rob Rix
bbe1b4b381 Rename the Configuration type parameters. 2018-05-09 13:36:15 -04:00
Rob Rix
b90de3eb8d Correct docs. 2018-05-09 13:28:08 -04:00
Rob Rix
994a6f4f4b Spacing. 2018-05-09 13:15:22 -04:00
Rob Rix
74b589e87d Merge runInPackageBody back into evaluatePackageWith. 2018-05-09 13:14:59 -04:00
Rob Rix
842141d2a0 Merge evaluatePackageBodyWith into evaluatePackageWith. 2018-05-09 13:13:30 -04:00
Rob Rix
1702557d8d Reformat evaluatePackageWith. 2018-05-09 13:11:02 -04:00
Rob Rix
ec1fb00b6e Don’t export evaluatePackageBodyWith. 2018-05-09 13:09:51 -04:00
Rob Rix
c9d769de93 Move runInModule back into evaluatePackageBodyWith. 2018-05-09 13:09:42 -04:00
Rob Rix
3a9e5f016d Rename the analysis parameters. 2018-05-09 13:08:02 -04:00
Rob Rix
6d3b7f33a1 Extract a helper to run some action in a package body context. 2018-05-09 13:07:51 -04:00
Rob Rix
510ce5f83d Align the module analyses. 2018-05-09 13:07:12 -04:00
Rob Rix
f4cb48d1cb Extract runInModule to the top level. 2018-05-09 12:55:00 -04:00
Rob Rix
740322ae36 The evalModule action runs in a module context. 2018-05-09 12:51:22 -04:00
Rob Rix
3cbf66c57e 🔥 TermEffects. 2018-05-09 12:39:22 -04:00
Rob Rix
f18d066c88 🔥 the Term newtype. 2018-05-09 12:36:48 -04:00
Rob Rix
d02fdb419a Only export spec. 2018-05-09 12:36:40 -04:00
Rob Rix
4dca1c121e 🔥 the term parameter to Evaluator. 2018-05-09 12:35:01 -04:00
Rob Rix
db2c0e737e Use resumeLoadError to tighten up graphingLoadErrors. 2018-05-09 12:27:35 -04:00
Rob Rix
16df80a66a Define a helper to resume load errors. 2018-05-09 12:26:38 -04:00
Rob Rix
f2b0497212 Export moduleNotFound. 2018-05-09 12:25:41 -04:00
Rob Rix
a12383f6e1 Rename the LoadError constructor to ModuleNotFound. 2018-05-09 12:23:04 -04:00
Rob Rix
ccd7424af7 Define a moduleNotFound helper to throw LoadErrors. 2018-05-09 12:22:20 -04:00
Rob Rix
662e385b97 LoadErrors are resumed with the evaluated result, rather than the list of modules to evaluate. 2018-05-09 12:20:23 -04:00
Rob Rix
6330da5bce Factor the runModules call into runInModule. 2018-05-09 12:06:07 -04:00
Rob Rix
705a35a866 Merge branch 'master' into high-level-module-table-effect 2018-05-09 11:51:15 -04:00
Josh Vera
52e2e37cf0 Merge pull request #1823 from github/evaluate-closures-without-terms
Evaluate closures without terms
2018-05-08 17:07:16 -04:00
Rob Rix
2b1d976f6a Rename Control.Abstract.ModuleTable to Control.Abstract.Modules. 2018-05-08 16:59:25 -04:00
Rob Rix
d310b90a70 🔥 EvalClosure. 2018-05-08 16:51:03 -04:00
Rob Rix
afe7711a1b 🔥 EvalModule. 2018-05-08 16:47:10 -04:00
Rob Rix
90ec7a1355 Define load &c as a Modules effect, interpreted in terms of state/reader/error effects. 2018-05-08 16:47:06 -04:00
Rob Rix
3948f74810 Correct the type of the module table effect. 2018-05-08 16:46:17 -04:00
Rob Rix
21717cd079 Use the full type for the modules field of EvaluatingState. 2018-05-08 16:42:27 -04:00
Rob Rix
a1b1f78c95 Define a reinterpretEffect handler. 2018-05-08 16:28:28 -04:00
Rob Rix
4799bffeb0 🔥 a redundant constraint. 2018-05-08 15:47:52 -04:00
Rob Rix
aa35a8756e Abstract the evaluated modules behind a Loaded effect. 2018-05-08 15:46:15 -04:00
Rob Rix
f9ce008a36 🔥 LoadStack. 2018-05-08 15:15:50 -04:00
Rob Rix
1b2456e717 Correct a couple of comments. 2018-05-08 14:54:32 -04:00
Rob Rix
6fc21482db Sequence the messages around the evaluateModule call. 2018-05-08 14:45:45 -04:00
Rob Rix
f097c1a870 🔥 the need for the LoadStack. 2018-05-08 14:45:09 -04:00
Rob Rix
11b7328ccc Test whether we’re loading by inspecting the cache. 2018-05-08 14:42:30 -04:00
Rob Rix
72764795a6 📝 lookupModule. 2018-05-08 14:39:11 -04:00
Rob Rix
36066bc610 Use a lookupModule primitive. 2018-05-08 14:35:59 -04:00
Rob Rix
531774e6bd Cache a marker when we start loading a module. 2018-05-08 14:30:18 -04:00
Rob Rix
f1bf4ba019 Rephrase in terms of caching a result for a module. 2018-05-08 14:28:31 -04:00
Rob Rix
534a261e16 Store values in the evaluated module table in Maybe. 2018-05-08 14:23:04 -04:00