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
Rob Rix
fc5556c8ed Spell out the reinjection function. 2018-05-02 11:47:29 -04:00
Rob Rix
ea8c694b3f Rename inj'/prj' to unsafeInject/unsafeProject. 2018-05-02 11:47:20 -04:00
Rob Rix
1a562e6e07 Rename inj/prj to inject/project. 2018-05-02 11:46:56 -04:00
Rob Rix
3313e12047 Move the INLINEs for inj'/prj' next to them. 2018-05-02 11:46:45 -04:00
Rob Rix
b31333f637 Say sum again. 2018-05-02 11:29:10 -04:00
Rob Rix
1c6bafd144 Rename Member/Members to Element/Elements. 2018-05-02 11:27:37 -04:00
Rob Rix
f53d944546 Don’t warn on the patterns we use in the where clauses. 2018-05-02 11:26:51 -04:00
Rob Rix
50a3fecfe3 Rename our Union type to Sum. 2018-05-02 11:25:44 -04:00
Rob Rix
171d349eee Define our own Union type. 2018-05-02 10:59:30 -04:00
Rob Rix
a4754a4937 Make currentModule total within the scope of module evaluation. 2018-05-01 20:59:01 -04:00
Rob Rix
0aa506fae5 Extract evaluateEntryPoint to the top level. 2018-05-01 17:58:21 -04:00
Rob Rix
6069c95d1d Return Maybe from load/require. 2018-05-01 17:52:05 -04:00
Rob Rix
e8e2f0bd8a Extract evalTerm to the top level. 2018-05-01 17:15:35 -04:00
Rob Rix
7eabddf61c Use an equality constraint to simplify the context of evaluatePackageBody. 2018-05-01 15:54:20 -04:00
Rob Rix
24428f94e9 No need to scope these type variables. 2018-05-01 15:53:38 -04:00
Rob Rix
0f62131434 Provide the current package’s info statically. 2018-05-01 15:47:56 -04:00
Rob Rix
09fb3921b6 🔥 a redundant constraint. 2018-05-01 15:23:31 -04:00
Rob Rix
15daf32655 There aren’t any constrained class methods here any more. 2018-05-01 15:18:36 -04:00
Rob Rix
afddcf4e6d Remove the Recursive constraint from MonadEvaluatable. 2018-05-01 15:16:43 -04:00
Rob Rix
3d1f08d444 Remove the Evaluatable constraint from MonadEvaluatable. 2018-05-01 15:15:47 -04:00
Rob Rix
1400626b28 Provide the unevaluated module table in evaluatePackageBody. 2018-05-01 15:13:45 -04:00
Rob Rix
9a6526a881 Extract withPrelude to the top level. 2018-05-01 15:13:20 -04:00
Rob Rix
adce4b2b31 Generalize the definition of localModuleTable. 2018-05-01 10:48:15 -04:00
Rob Rix
15c4be2a38 Alienate fail that much further. 2018-05-01 09:42:49 -04:00
Rob Rix
c8d540346b Move the EvalModule constraint out of MonadEvaluatable. 2018-05-01 09:37:51 -04:00
Rob Rix
cc72724565 Note a TODO for the traceMs. 2018-05-01 09:29:32 -04:00
Rob Rix
4e15b94309 📝 the reason for the traceMs. 2018-05-01 09:28:44 -04:00
Rob Rix
490f11845d Merge branch 'master' into break-the-loop 2018-05-01 09:27:23 -04:00
Josh Vera
d35a58fc34 Merge pull request #1792 from github/ruby-self-class
Fix infinite loop when evaluating scoped environment lookups
2018-04-30 19:28:41 -04:00
Rob Rix
97f0bdf438 Haddock headers. 2018-04-30 18:25:43 -04:00
Rob Rix
ae7f180eb0 Correct a couple of hints. 2018-04-30 17:29:31 -04:00
Rob Rix
ce8258fe2c Merge branch 'master' into break-the-loop 2018-04-30 17:19:01 -04:00
Josh Vera
753f8b0367 Merge branch 'master' into ruby-self-class 2018-04-30 17:13:22 -04:00
Rob Rix
81a69905a4 Revert "Module table entries have to be non-empty."
This reverts commit 9a5e83caec105358018b05c75095743cbbe80905.
2018-04-30 17:13:03 -04:00
Rob Rix
7c9c975071 Module table entries have to be non-empty. 2018-04-30 17:11:34 -04:00
Rob Rix
405c12f574 Records can have lower bounds. 2018-04-30 17:07:18 -04:00
Rob Rix
890e6df098 Ranges and Spans have lower bounds. 2018-04-30 17:07:01 -04:00
Patrick Thomson
54544033e1 Merge pull request #1793 from github/array-indexing
Add support for array indexing.
2018-04-30 17:04:05 -04:00
Patrick Thomson
713b3ac290 Ensure we can typecheck tuple accesses. 2018-04-30 16:56:50 -04:00
Patrick Thomson
ed4ef49b70 Address Josh's comments. 2018-04-30 16:53:22 -04:00
Rob Rix
2885698962 🔥 throwLoadError. 2018-04-30 16:41:03 -04:00
Rob Rix
216b414995 LoadError doesn’t need a type parameter for the value. 2018-04-30 16:40:27 -04:00
Rob Rix
5e4745f412 Don’t export throwLoadError. 2018-04-30 16:35:50 -04:00
Rob Rix
b25c78c1a9 Weaken MonadEvaluatable to MonadEvaluator. 2018-04-30 16:32:48 -04:00
Rob Rix
b435188b2c Generalize isolate. 2018-04-30 16:32:04 -04:00
Rob Rix
e738e91fa8 🔥 redundant constraints. 2018-04-30 16:31:25 -04:00
Patrick Thomson
2067fb7459 lints 2018-04-30 16:29:39 -04:00
Rob Rix
668adb6ba1 Generalize the load & require signatures. 2018-04-30 16:25:19 -04:00
Rob Rix
38644242de Generalize the loadWith & requireWith signatures. 2018-04-30 16:23:43 -04:00
Rob Rix
e27541a7d8 Load & require use an EvalModule effect. 2018-04-30 16:20:54 -04:00