1
1
mirror of https://github.com/github/semantic.git synced 2024-12-15 10:02:27 +03:00
Commit Graph

26747 Commits

Author SHA1 Message Date
Rob Rix
a14cc79903 🔥 redundant parens. 2018-12-05 15:53:23 -05:00
Rob Rix
47c2dea759 Merge branch 'heap-frames' of https://github.com/github/semantic into heap-frames 2018-12-05 15:39:09 -05:00
Rob Rix
6bb5308697 Rename the ScopeGraph field to unScopeGraph. 2018-12-05 15:35:02 -05:00
Rob Rix
d98cb05d0b Pattern-match against the constructor. 2018-12-05 15:34:20 -05:00
Rob Rix
7badac6148 Spacing. 2018-12-05 15:32:18 -05:00
Rob Rix
0daef02edc Don’t use record wildcards to unpack ScopeGraph. 2018-12-05 15:32:06 -05:00
Rob Rix
dc2b94eef2 Align { to the next line. 2018-12-05 15:26:35 -05:00
Rob Rix
6bf9f08f63 🔥 a couple of redundant do-blocks. 2018-12-05 15:24:50 -05:00
Rob Rix
3d34922fe2 Tighten up reference with <$> and <|>. 2018-12-05 15:24:10 -05:00
Rob Rix
c90e1605fd Tighten up insertImportReference using <$> and <|>. 2018-12-05 15:20:08 -05:00
Rob Rix
12ccbf8f85 Move modifyReferences down. 2018-12-05 15:19:09 -05:00
Rob Rix
e8a9634339 Flip modifyReferences. 2018-12-05 15:18:53 -05:00
Rob Rix
1e12265292 Extract a function to modify a scope’s references. 2018-12-05 15:17:18 -05:00
Rob Rix
ebc1a83ed1 Factor out a common traverseEdges function. 2018-12-05 15:14:57 -05:00
joshvera
522c87e627 Merge branch 'heap-frames' of https://github.com/github/semantic into heap-frames 2018-12-05 15:09:46 -05:00
joshvera
eae6b7c8b3 Add tests for QualifedExportFrom 2018-12-05 15:07:37 -05:00
Rob Rix
05392f2296 simplify lookupScopePath using <$>. 2018-12-05 14:53:42 -05:00
Rob Rix
98107e05be Correct associatedScope using >>=. 2018-12-05 14:48:44 -05:00
Rob Rix
3a3fa0c541 Define associatedScope using foldr. 2018-12-05 14:42:53 -05:00
Rob Rix
38611d053c Simplify associatedScope using <$> and <|>. 2018-12-05 14:42:05 -05:00
Rob Rix
3c2a544a2d Define scopeOfDeclaration using a foldr. 2018-12-05 14:40:12 -05:00
Rob Rix
bc0c28477f Simplify scopeOfDeclaration using <$ and <|> . 2018-12-05 14:38:25 -05:00
Rob Rix
9a966a51f4 Use maybe. 2018-12-05 14:35:30 -05:00
Rob Rix
433e3dd04d Use maybeM. 2018-12-05 14:35:24 -05:00
Rob Rix
4a80c83275 Parens instead of dollar. 2018-12-05 14:34:09 -05:00
Rob Rix
c4477c05b7 🔥 a redundant dollar. 2018-12-05 14:33:33 -05:00
Rob Rix
5981de0f56 Redundant parens. 2018-12-05 14:33:01 -05:00
Rob Rix
b67708c9d3 🔥 redundant parens. 2018-12-05 14:32:02 -05:00
Rob Rix
34b5965554 Extract a defineSelf helper. 2018-12-05 14:29:00 -05:00
Rob Rix
0132a24e1b 🔥 ScopedTypeVariables. 2018-12-05 14:26:43 -05:00
Rob Rix
c51629df80 do-notation does not work that way! 2018-12-05 14:26:33 -05:00
Rob Rix
776ae3ebe1 🔥 a redundant language extension. 2018-12-05 14:25:09 -05:00
Rob Rix
df18160bc0 🔥 redundant parens. 2018-12-05 14:24:40 -05:00
Rob Rix
e489bd75cb Beautify. 2018-12-05 14:24:19 -05:00
Rob Rix
693734094c Combine imports. 2018-12-05 14:24:14 -05:00
Rob Rix
024f6ea77e Eta-reduce withScope. 2018-12-05 14:23:33 -05:00
Rob Rix
22e78f2987 Simplify maybeLookupScopePath using gets. 2018-12-05 14:23:25 -05:00
Rob Rix
0dde568322 🔥 redundant parens. 2018-12-05 14:22:26 -05:00
Rob Rix
ebcdec00cc Align the defineBuiltIn signature. 2018-12-05 14:19:32 -05:00
Rob Rix
f286725f3f Beautify. 2018-12-05 14:18:33 -05:00
Rob Rix
82065e6c0b Pare down the language extensions. 2018-12-05 14:18:18 -05:00
joshvera
109e4bbabe Implement QualifiedExportFrom 2018-12-05 14:17:59 -05:00
Rob Rix
211d0092e1 🔥 a redundant bracket. 2018-12-05 14:17:00 -05:00
Rob Rix
664dd11fb0 Simplify the super scopes computation. 2018-12-05 14:16:31 -05:00
Rob Rix
9d732570f5 Eta-reduce withFrame. 2018-12-05 14:15:51 -05:00
Rob Rix
d021a7f156 🔥 a scope we aren’t using. 2018-12-05 14:09:23 -05:00
Rob Rix
af8ae29d7e Merge branch 'heap-frames' of https://github.com/github/semantic into heap-frames 2018-12-05 14:05:57 -05:00
Rob Rix
dda1706189 Implement object for Type. 2018-12-05 14:05:41 -05:00
joshvera
ffcad35b80 Merge branch 'heap-frames' of https://github.com/github/semantic into heap-frames 2018-12-05 14:04:36 -05:00
joshvera
3a88a76d12 Remove super instance 2018-12-05 14:04:02 -05:00