1
1
mirror of https://github.com/github/semantic.git synced 2024-12-20 21:31:48 +03:00
Commit Graph

21226 Commits

Author SHA1 Message Date
Charlie Somerville
7687122202 environment: add unpairs function 2018-04-27 12:04:12 +10:00
Charlie Somerville
270bc8acbf environment: implement bind, overwrite in terms of mapMaybe and fromList 2018-04-27 12:04:12 +10:00
Charlie Somerville
bf021b0ae5 implement Data.Empty for Environment 2018-04-27 12:04:12 +10:00
Timothy Clem
2d74919599 This is un-used now 2018-04-26 13:50:23 -07:00
Timothy Clem
da89a11fae Introduce place to put all these directives 2018-04-26 13:43:49 -07:00
Timothy Clem
15e1b6c505 Remove this 2018-04-26 13:43:29 -07:00
Timothy Clem
08600b4155 Merge remote-tracking branch 'origin/master' into eval-__FILE__ 2018-04-26 13:23:42 -07:00
Rob Rix
8ebf1e99f3 🔥 the origin field of EvaluatorState. 2018-04-26 14:49:00 -04:00
Rob Rix
41eea6bd4f Move LoopThrow & ReturnThrow into Evaluator. 2018-04-26 14:44:01 -04:00
Rob Rix
7d065b44ed Move pushOrigin into Evaluator. 2018-04-26 14:43:29 -04:00
Rob Rix
13f0b40b0e Merge pull request #1781 from github/analyses-provide-and-handle-effects
Analyses provide and handle effects
2018-04-26 14:41:08 -04:00
Rob Rix
f125327edd Revert "Simplify the types of analyzeModule & analyzeTerm."
This reverts commit 84588f712ba21ebf90af0a34ba1a50834e61aacf.
2018-04-26 14:35:55 -04:00
Rob Rix
94678b4501 Revert "Define an Evaluator newtype which can run Eval effects."
This reverts commit f771979a461f748be6d92c917f9a0543a1996f3d.
2018-04-26 14:33:23 -04:00
Rob Rix
cee5480d74 Reformat the signature for variable. 2018-04-26 11:36:01 -04:00
Rob Rix
ac15c4fd78 🔥 ImportGraphingWithHoles. 2018-04-26 11:35:33 -04:00
Rob Rix
adb5549677 Alphabetize. 2018-04-26 10:58:58 -04:00
Rob Rix
6581f4c6c0 Define an Evaluator newtype which can run Eval effects. 2018-04-26 10:57:24 -04:00
Rob Rix
1942e20af1 🔥 runAnalysis. 2018-04-26 10:17:47 -04:00
Rob Rix
fc33283327 Swap the parameters to Interpreter. 2018-04-26 10:15:06 -04:00
Rob Rix
9f91b23be7 🔥 a redundant constraint.
The scoped type variables are now necessary to ensure that the type parameters can be applied in the correct order.
2018-04-26 09:30:41 -04:00
Rob Rix
400f8bbe00 Revert "Add an Evaluator datatype wrapping some effectful interpreter."
This reverts commit d7f51ce22355dd93e4c073a50871d04732f9a616.
2018-04-26 09:18:53 -04:00
Rob Rix
339b1e3d5f 🔥 a redundant constraint. 2018-04-26 09:15:16 -04:00
Rob Rix
ac1edc76b7 Simplify the types of analyzeModule & analyzeTerm. 2018-04-26 09:13:59 -04:00
Rob Rix
5ed0e37740 Move diffWithParser into the tests. 2018-04-26 09:05:18 -04:00
Rob Rix
94f5ea39dd Add an Erroring analysis for LoadErrors. 2018-04-26 08:50:41 -04:00
Rob Rix
39a0b21c95 Spacing. 2018-04-26 08:49:28 -04:00
Rob Rix
95b73046ef Define an Eval effect. 2018-04-26 08:44:46 -04:00
Rob Rix
a1212b88b8 Beautify. 2018-04-26 08:25:28 -04:00
Rob Rix
fa34e9e499 Provide LoadError with an Erroring analysis. 2018-04-26 08:18:47 -04:00
Rob Rix
c94a6467ce Reformat ImportGraphAnalysis. 2018-04-25 19:34:10 -04:00
Rob Rix
3a279a98f4 Don’t qualify the import of ImportGraph. 2018-04-25 19:33:32 -04:00
Rob Rix
821463a433 Partially apply ImportGraphAnalysis. 2018-04-25 19:32:16 -04:00
Timothy Clem
2bc392b282 Merge remote-tracking branch 'origin/master' into eval-__FILE__ 2018-04-25 16:23:07 -07:00
Rob Rix
142a899ac5 Add an Evaluator datatype wrapping some effectful interpreter. 2018-04-25 19:22:23 -04:00
Rob Rix
b9b529076b Give Interpreter a type family for the result type. 2018-04-25 19:12:54 -04:00
Rob Rix
0d7bff7936 Merge branch 'master' into analyses-provide-and-handle-effects 2018-04-25 18:51:47 -04:00
Rob Rix
e19b07c0ec Merge branch 'master' into embed-interpreters-in-closures 2018-04-25 18:51:30 -04:00
Rob Rix
b75ff20fb3 Correct the type of the comparison helper. 2018-04-25 18:49:22 -04:00
Rob Rix
f3e6a7fca3 Correct the type signature for specialize. 2018-04-25 18:48:22 -04:00
Rob Rix
7ea0a8e898 Move the Show constraint on location into the MonadValue instance for Value. 2018-04-25 18:40:22 -04:00
Rob Rix
18cae1545d Correct a doc. 2018-04-25 18:37:41 -04:00
Rob Rix
4c1676ce3d Merge branch 'master' into caller-origin 2018-04-25 18:35:41 -04:00
Rob Rix
8fd919d20e 🔥 the Monoid instance of Lower. 2018-04-25 18:35:30 -04:00
Rob Rix
71c5558213 Define a Lower instance for Origin. 2018-04-25 18:31:18 -04:00
Rob Rix
2066b33aaf Rename Empty to Lower. 2018-04-25 18:25:02 -04:00
Rob Rix
b4c5648ff0 Move throwResumable, throwException, and catchException into Control.Effect. 2018-04-25 18:24:37 -04:00
Rob Rix
19128b3183 Use raiseHandler to simplify some local calls. 2018-04-25 18:21:42 -04:00
Rob Rix
eae31711c2 Define the Empty instance for EvaluatorState in terms of other Empty instances. 2018-04-25 18:12:57 -04:00
Rob Rix
1e5e766da9 Move the result type to the next line. 2018-04-25 18:11:14 -04:00
Rob Rix
17494e7b78 Reformat the result type. 2018-04-25 18:10:39 -04:00