1
1
mirror of https://github.com/github/semantic.git synced 2024-12-24 07:25:44 +03:00
Commit Graph

21551 Commits

Author SHA1 Message Date
Rob Rix
e638fb4715 Update the specs to use a testEvaluating analysis. 2018-05-06 17:30:07 -04:00
Rob Rix
4fa0486afa Resume LoadErrors. 2018-05-06 17:28:58 -04:00
Rob Rix
cba1d42e95 Define a parameterized handler for LoadError. 2018-05-06 17:28:05 -04:00
Rob Rix
b6709b4da2 Use the correct injection/projection functions in the tests. 2018-05-06 17:23:39 -04:00
Rob Rix
f9ed9766fb Link the tests against fastsum. 2018-05-06 17:22:32 -04:00
Rob Rix
5f0d80a6b1 🔥 the Bad* modules. 2018-05-06 17:16:10 -04:00
Rob Rix
1af56342bf Move resumingBadValues into Semantic.Graph. 2018-05-06 17:15:01 -04:00
Rob Rix
9e4e98b2a9 Define a parameterized handler for ValueError. 2018-05-06 17:12:12 -04:00
Rob Rix
376c87d640 Move resumingBadAddresses into Semantic.Graph. 2018-05-06 17:10:22 -04:00
Rob Rix
e9bec37d6d Define a parameterized handler for AddressError. 2018-05-06 17:08:49 -04:00
Rob Rix
f953f2e2a1 Move resumingBadSyntax into Semantic.Graph. 2018-05-06 17:06:55 -04:00
Rob Rix
55997e5c60 Define a parameterized handler for Unspecialized errors. 2018-05-06 17:05:34 -04:00
Rob Rix
3a79bc0dc3 Move resumingBadVariables into Semantic.Graph. 2018-05-06 17:03:26 -04:00
Rob Rix
bf42793078 Rename resumingResolutionErrors in the singular. 2018-05-06 17:02:41 -04:00
Rob Rix
df0f798299 Define a runEvalErrorWith handler. 2018-05-06 17:01:11 -04:00
Rob Rix
c26748e746 Define runResolutionErrorWith in terms of runResumableWith. 2018-05-06 16:58:20 -04:00
Rob Rix
e52b2e0f4c Define a generalized runResumableWith handler. 2018-05-06 16:57:53 -04:00
Rob Rix
7c028b53eb Move resumingBadModuleResolutions into Semantic.Graph. 2018-05-06 16:53:00 -04:00
Rob Rix
a47b4cb6f3 Define a parameterized handler for ResolutionError. 2018-05-06 16:50:49 -04:00
Rob Rix
26c2869d6e Generalize runResolutionError. 2018-05-06 16:46:11 -04:00
Rob Rix
71d5eebbab 🔥 Erroring. 2018-05-06 16:44:04 -04:00
Rob Rix
dde1b6a1fd Run ValueErrors with a specialized handler. 2018-05-06 16:43:02 -04:00
Rob Rix
dcb771a29e 🔥 the TypeChecking module. 2018-05-06 16:41:36 -04:00
Rob Rix
3e0a544cb9 Run type errors using a specialized handler. 2018-05-06 16:41:26 -04:00
Rob Rix
7e065a9693 Run eval errors using a specialized handler. 2018-05-06 16:38:54 -04:00
Rob Rix
136a9661d2 Split the LoadError handling out into a separate function. 2018-05-06 16:35:04 -04:00
Rob Rix
0dedd68188 Run resolution errors with a specialized handler. 2018-05-06 16:30:29 -04:00
Rob Rix
1f0bc214e6 Run unspecialized errors with a specialized handler. 2018-05-06 16:00:55 -04:00
Rob Rix
05baa63939 🔥 getUnspecialized. 2018-05-06 15:58:12 -04:00
Rob Rix
7f6c1ea5e2 Use a specialized handler for LoadError. 2018-05-06 15:57:19 -04:00
Rob Rix
996b5cbd43 Use a specialized handler for AddressError. 2018-05-06 15:55:18 -04:00
Rob Rix
97159dcfbe Kleisli composition. 2018-05-06 15:38:05 -04:00
Rob Rix
a1c5d96a93 Rephrase resume without the continuation. 2018-05-06 15:37:11 -04:00
Rob Rix
b984afc04e Move throwResumable & resume around. 2018-05-06 15:33:43 -04:00
Rob Rix
63269866fc Merge pull request #1811 from github/add-fastsum
Add the fastsum package as a dependency.
2018-05-06 15:23:37 -04:00
Rob Rix
bfd95c29f8 Allow evaluating to occur in non-final positions. 2018-05-06 15:14:57 -04:00
Rob Rix
32bdafe20e 🔥 EvaluatingEffects. 2018-05-06 15:12:55 -04:00
Rob Rix
d48349e54f Add a runEffect handler, wrapping relay. 2018-05-06 15:03:26 -04:00
Rob Rix
7d4db61f26 Add a handler for Fresh effects. 2018-05-06 14:57:03 -04:00
Rob Rix
66ab86463c Add a header above currentModule/currentPackage. 2018-05-06 14:49:54 -04:00
Rob Rix
fbfa61d2fc Add a helper to run an Effectful computation with no effects. 2018-05-06 14:47:06 -04:00
Rob Rix
3ad0b357c5 🔥 redundant constraints. 2018-05-06 14:44:46 -04:00
Rob Rix
6c161b1252 Use Evaluator’s definitions of runEvalModule/runEvalClosure. 2018-05-06 14:42:49 -04:00
Rob Rix
c8dd3bc718 Rename handleModulesWith to runEvalModule. 2018-05-06 14:42:17 -04:00
Rob Rix
c66ad597a3 Rename handleClosuresWith to runEvalClosure. 2018-05-06 14:42:05 -04:00
Rob Rix
6e54b67c1f Rename handleState to runState. 2018-05-06 14:28:19 -04:00
Rob Rix
2b5e62dc33 Rename handleReader to runReader. 2018-05-06 14:26:01 -04:00
Rob Rix
79e5f02108 Qualify Eff. 2018-05-06 14:16:40 -04:00
Rob Rix
0334ab0ded Rename the EvalModule/EvalClosure handlers. 2018-05-06 14:13:20 -04:00
Rob Rix
848543010d Handle LoopControl local to Evaluatable. 2018-05-06 14:12:41 -04:00