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

15537 Commits

Author SHA1 Message Date
Rob Rix
d572c64b32 Define Term equality via Eq1. 2017-09-08 16:55:36 +01:00
Rob Rix
ea5107c484 Define Listable instances for Term/TermF. 2017-09-08 16:50:21 +01:00
Rob Rix
185818d8bd Rename runCofree to unTerm. 2017-09-08 16:46:35 +01:00
Rob Rix
f2cd05d5fc Rename Cofree/CofreeF to Term/TermF. 2017-09-08 16:45:08 +01:00
Rob Rix
aa9d4c4f19 Give our own definition of CofreeF. 2017-09-08 16:40:23 +01:00
Rob Rix
1a6af2179b Give our own definition of Cofree. 2017-09-08 16:24:11 +01:00
Rob Rix
a296ec4ca3 Re-enable the orphan instance warning in Term. 2017-09-08 15:54:35 +01:00
Rob Rix
426a4922d4 Avoid expensive tests whenever possible. 2017-09-08 13:40:34 +01:00
Rob Rix
46e258ffd8 🔥 the Advance combinator. 2017-09-08 13:13:10 +01:00
Rob Rix
3ca3e65b11 Bind the choice operation at the top level to avoid recomputing it. 2017-09-08 09:28:36 +01:00
Rob Rix
ebc13c5b39 Clean up fromListWith with <$>. 2017-09-08 01:01:45 +01:00
Rob Rix
1ab6f5f8d5 🔥 distribution of <|> through continuations. 2017-09-08 00:44:43 +01:00
Rob Rix
f111c1edc9 Move the Fail case up. 2017-09-08 00:43:37 +01:00
Rob Rix
1468743832 Revert "Match comments with expression."
This reverts commit b7bc1d7ced4ecea66022292a0c340e3aed22af5d.
2017-09-01 14:29:49 -04:00
Rob Rix
f5abaa351c Revert "🔥 the top-level handleError."
This reverts commit 9b7e394bfa8aacc266d8301c95aef1eefbce0c91.
2017-09-01 14:18:03 -04:00
Rob Rix
160fc8bbfa Revert "Define a Result type synonym."
This reverts commit 62d7855fe830b394af3ea0b536685f369863cb8d.
2017-09-01 14:10:32 -04:00
Rob Rix
3be8948e2e Correct the file util’s selection of the blob language. 2017-09-01 14:08:02 -04:00
Rob Rix
bbc20dc6ab Don’t log the blob language when we don’t have one. 2017-09-01 14:07:42 -04:00
Rob Rix
a7fd575ea8 Define a Result type synonym. 2017-09-01 13:46:44 -04:00
Rob Rix
8d4889f124 Use the token rule to match parse errors. 2017-09-01 13:37:31 -04:00
Rob Rix
e0ca2e87dd 🔥 the top-level handleError. 2017-09-01 13:33:43 -04:00
Rob Rix
c799303aa0 Match parse errors at the top level. 2017-09-01 13:21:13 -04:00
Rob Rix
d408f286c7 Match parse errors explicitly. 2017-09-01 13:20:14 -04:00
Rob Rix
12d7a0d57f Match comments with expression. 2017-09-01 13:05:58 -04:00
Rob Rix
2317d56355 📝 choice. 2017-09-01 12:41:05 -04:00
Rob Rix
826adc829f 🔥 the Array table module. 2017-09-01 12:37:02 -04:00
Rob Rix
c8798c6ea7 Rename the IntMap table module to Table. 2017-09-01 12:36:35 -04:00
Rob Rix
7bb025ed76 🔥 the Table module. 2017-09-01 12:35:57 -04:00
Rob Rix
32b2f90316 🔥 a couple of obsolete tests. 2017-09-01 11:54:45 -04:00
Rob Rix
1270bb41c4 Correct the <|>/distributivity through children rules test. 2017-09-01 11:53:40 -04:00
Rob Rix
bad1c832f0 Correct precedence. 2017-09-01 11:51:18 -04:00
Rob Rix
5366bfff3c 🔥 obsolete tests of catchError/repetitions. 2017-09-01 11:50:48 -04:00
Rob Rix
c2f30feff2 Test that exhaustiveness errors are uncaught. 2017-09-01 11:50:10 -04:00
Rob Rix
2110d7d076 Slight improvement to the unexpected end of branch test. 2017-09-01 11:49:46 -04:00
Rob Rix
a640b48ddc Test that unexpected end of branch errors are uncaught. 2017-09-01 11:47:38 -04:00
Rob Rix
7fc97f6b9d Rename a test. 2017-09-01 11:33:33 -04:00
Rob Rix
6afe2b5ae9 Test that handlers can error. 2017-09-01 11:32:57 -04:00
Rob Rix
eb65bd9622 Test the inverse case. 2017-09-01 11:28:59 -04:00
Rob Rix
99b4d5037a 🔥 unnecessary parens. 2017-09-01 11:28:41 -04:00
Rob Rix
70cfa6e070 Rename & correct a catchError test. 2017-09-01 11:26:46 -04:00
Rob Rix
de318561dd Correct a test’s expectation. 2017-09-01 11:25:30 -04:00
Rob Rix
25230f8c2f Don’t bother with a shared thunk. 2017-09-01 11:11:33 -04:00
Rob Rix
aa15d3e0fd Unique the symbols with an IntSet. 2017-09-01 11:01:11 -04:00
Rob Rix
2e51edbc97 Unique the symbols with a Set. 2017-09-01 10:57:59 -04:00
Rob Rix
5a94cc1a8a Use a uniqued list of symbols. 2017-09-01 10:56:03 -04:00
Rob Rix
7e3000bc5a Chain error handlers on after continuations. 2017-09-01 10:51:11 -04:00
Rob Rix
9b7f335a9d Implement MonadError in terms of Choose error handlers. 2017-09-01 10:49:49 -04:00
Rob Rix
a6b1d4e9a9 Add a Fail rule & MonadFail instance. 2017-09-01 10:36:32 -04:00
Rob Rix
d6c8947350 Store the addresses in an IntSet. 2017-09-01 10:16:15 -04:00
Rob Rix
4c852dd107 Array-backed jump tables hold a set of indices. 2017-09-01 10:12:07 -04:00