Rob Rix
cb7ddc22a8
🔥 CompileSum.
2019-10-08 15:45:29 -04:00
Rob Rix
80b43c4009
Specialize the instance for :+:.
2019-10-08 15:45:08 -04:00
Rob Rix
1506aed1a7
Use GND for the PrimaryExpression instance.
2019-10-08 15:44:19 -04:00
Rob Rix
34bf5ad033
📝 ShowSum'.
2019-10-08 15:43:24 -04:00
Rob Rix
a2312d1185
📝 ShowSum.
2019-10-08 15:42:21 -04:00
Rob Rix
78cc4835fc
📝 the error case.
2019-10-08 15:41:20 -04:00
Rob Rix
5d4317031a
📝 the right-recursive instance.
2019-10-08 15:41:16 -04:00
Rob Rix
5242e394df
📝 the left-recursive instance.
2019-10-08 15:41:10 -04:00
Rob Rix
579e5792e8
📝 the reflexive instance.
2019-10-08 15:41:02 -04:00
Rob Rix
ea0a4c99b8
📝 Element'.
2019-10-08 15:40:54 -04:00
Rob Rix
acbb1e7cd5
📝 <>.
2019-10-08 15:40:48 -04:00
Rob Rix
607f8263a5
📝 Find'.
2019-10-08 15:40:41 -04:00
Rob Rix
83bead5840
📝 Find.
2019-10-08 15:40:34 -04:00
Rob Rix
abb6eff40f
📝 Side.
2019-10-08 15:40:28 -04:00
Rob Rix
31ba6be9d8
Note the custom error message.
2019-10-08 15:40:23 -04:00
Rob Rix
f27729ab14
Move the 'None instance up.
2019-10-08 15:39:08 -04:00
Rob Rix
3334ec81d3
🔥 OVERLAPPABLE.
2019-10-08 15:37:52 -04:00
Rob Rix
711ec1957d
📝 Prj.
2019-10-08 15:35:07 -04:00
Rob Rix
3051c8cace
Spacing.
2019-10-08 15:34:47 -04:00
Rob Rix
da227888ce
Rename Elem to Find.
2019-10-08 15:34:33 -04:00
Rob Rix
da890fa747
Redefine Element using a type family computing which side to recur on.
...
This avoids having to reassociate the tree, which is considerably more expensive for balanced trees.
2019-10-08 15:30:37 -04:00
Rob Rix
75ed50c574
List the imports from GHC.Generics.
2019-10-08 15:20:58 -04:00
Rob Rix
a307d0757a
Define a pattern synonym for matching out of sums.
2019-10-08 15:10:33 -04:00
Rob Rix
4e194a5943
📝 prj.
2019-10-08 15:08:37 -04:00
Rob Rix
ad1de17e64
📝 Element.
2019-10-08 15:08:17 -04:00
Rob Rix
49cba72090
Update semantic-java.
2019-10-08 15:04:00 -04:00
Rob Rix
51e74b9b1e
Update semantic-python.
2019-10-08 15:01:34 -04:00
Rob Rix
5e3afdb2da
Revert " 🔥 AST.Element for now."
...
This reverts commit ad43b0c1a2
.
2019-10-08 14:45:21 -04:00
Rob Rix
a67b67db6f
Merge branch 'master' into precise-json
2019-10-08 14:36:36 -04:00
Patrick Thomson
c33eed2da7
Merge pull request #317 from github/core-source-loc-name
...
Use semantic-source in semantic-core & represent Name as a newtype
2019-10-07 21:35:07 -04:00
Patrick Thomson
665429fa92
We have these JSON instances already.
2019-10-07 20:16:54 -04:00
Patrick Thomson
8d9c7b9277
Unnecessary parens.
2019-10-07 17:46:07 -04:00
Patrick Thomson
a001a02b5c
Formatting.
2019-10-07 17:46:06 -04:00
Patrick Thomson
7eaf7423e0
Fix the generators and kill some unused imports.
2019-10-07 17:45:53 -04:00
Patrick Thomson
ae46a7b105
Make Data.Name.Name a newtype rather than a synonym.
...
The fact that `Name` was a simple alias for `Text` was creeping into
the error messages I'm seeing in `semantic-python`, which was a bit of
a buzzkill. This remedies that.
2019-10-07 17:45:53 -04:00
Rob Rix
527ad69cbd
Merge branch 'master' into core-source-loc-name
2019-10-07 17:41:26 -04:00
Rob Rix
dcc228d1fa
Update for the new shape of Name.
2019-10-07 17:36:35 -04:00
Rob Rix
c5fe348ed3
Simplify locFromTSSpan.
2019-10-07 17:34:15 -04:00
Rob Rix
16b475c57f
Rename FailWithLocC to FailC.
2019-10-07 17:26:37 -04:00
Rob Rix
1391e75a14
Move FailWithLocC into its own module.
2019-10-07 17:25:11 -04:00
Rob Rix
89e0185371
Stub in a module for FailWithLoc.
2019-10-07 17:21:23 -04:00
Rob Rix
a93327f46d
🔥 emptySpan.
2019-10-07 17:19:16 -04:00
Rob Rix
36eb0df4a9
Don’t use emptySpan in the doctests.
2019-10-07 17:18:53 -04:00
Rob Rix
d70f95fa56
Don’t re-export Span/Pos.
2019-10-07 17:18:18 -04:00
Rob Rix
8f11c4dae3
🔥 some commented-out fields.
2019-10-07 17:16:37 -04:00
Rob Rix
0b642f579d
Use semantic-source’s definition of Span.
2019-10-07 17:16:01 -04:00
Rob Rix
b082341704
Depend on semantic-source.
2019-10-07 17:14:32 -04:00
Rob Rix
03b12f2900
Define as a newtype wrapper around Text.
2019-10-07 17:10:24 -04:00
Patrick Thomson
651ec2a664
Merge pull request #315 from github/java-under-construction
...
Update Java support status in the README.
2019-10-07 17:09:45 -04:00
Patrick Thomson
998f04ee18
Update Java support status in the README.
...
Now that we’ve removed the Java syntax and assignment modules, parse/assign/diff capabilities for Java have, temporarily, regressed. Let’s inform people of this in the README.
2019-10-07 16:54:10 -04:00