Rob Rix
|
4d810c347c
|
Define an algebra using toDeclaration.
|
2017-10-05 12:25:36 -04:00 |
|
Rob Rix
|
7203134bc2
|
Define a HasDeclaration instance for Syntax.Error.
|
2017-10-05 12:24:54 -04:00 |
|
Rob Rix
|
3de2d95dbc
|
Pass the annotation to toDeclaration.
|
2017-10-05 12:24:35 -04:00 |
|
Rob Rix
|
baa3ccdcf7
|
Reformat.
|
2017-10-04 13:01:45 -04:00 |
|
Rob Rix
|
5ec3499044
|
Rename the f parameter to syntax.
|
2017-10-04 13:00:27 -04:00 |
|
Rob Rix
|
90f8e9385e
|
🔥 the other customizations from the DeclarationStrategy predicate.
|
2017-10-04 12:55:38 -04:00 |
|
Rob Rix
|
df5a75375b
|
Define a HasDeclaration instance for markup sections.
|
2017-10-04 12:55:03 -04:00 |
|
Rob Rix
|
deb199e4fe
|
Parameterize HasDeclaration by the term type.
|
2017-10-04 12:49:31 -04:00 |
|
Rob Rix
|
20564b5a11
|
toDeclaration is an R-algebra.
|
2017-10-04 12:42:01 -04:00 |
|
Rob Rix
|
67b4da98c9
|
toDeclaration takes the Blob.
|
2017-10-04 12:38:31 -04:00 |
|
Rob Rix
|
9cb072ed8d
|
Sort the language extensions.
|
2017-10-04 12:35:31 -04:00 |
|
Rob Rix
|
e30fe8f9bf
|
Define a HasDeclaration instance in terms of strategies.
|
2017-10-04 12:35:14 -04:00 |
|
Rob Rix
|
5ab89d2850
|
Define a type family to select the strategy for a given type.
|
2017-10-04 12:34:34 -04:00 |
|
Rob Rix
|
29f112e379
|
The Custom strategy uses toDeclaration.
|
2017-10-04 12:33:48 -04:00 |
|
Rob Rix
|
5a44b078ce
|
The Default strategy produces Nothing.
|
2017-10-04 12:33:26 -04:00 |
|
Rob Rix
|
d9921b34a2
|
Define a class to produce Declarations using a Strategy.
|
2017-10-04 12:32:49 -04:00 |
|
Rob Rix
|
533452f150
|
Define a type representing strategies for producing Declarations.
|
2017-10-04 12:30:22 -04:00 |
|
Rob Rix
|
f43ab13f7b
|
Define a typeclass to produce Declarations.
|
2017-10-04 12:29:58 -04:00 |
|
joshvera
|
b3667104fb
|
Merge remote-tracking branch 'origin/master' into typescript-assignment
|
2017-09-28 14:24:57 -07:00 |
|
Rob Rix
|
1cab700d82
|
Rename the SplitDiff module to Data.SplitDiff.
|
2017-09-27 12:43:11 -04:00 |
|
Rob Rix
|
b31043a3eb
|
Rename the Diff module to Data.Diff.
|
2017-09-27 12:41:41 -04:00 |
|
Rob Rix
|
9bd0b02ac9
|
Rename the Term module to Data.Term.
|
2017-09-27 12:37:37 -04:00 |
|
Rob Rix
|
e8b7e89dca
|
Rename the Patch module to Data.Patch.
|
2017-09-27 12:29:07 -04:00 |
|
joshvera
|
44d895388d
|
Merge remote-tracking branch 'origin/master' into typescript-assignment
|
2017-09-25 13:47:46 -04:00 |
|
joshvera
|
d0fb557bec
|
Merge remote-tracking branch 'origin/master' into typescript-assignment
|
2017-09-19 17:04:27 -04:00 |
|
Timothy Clem
|
13b85ac828
|
Merge remote-tracking branch 'origin/master' into ruby-assignment-ftw
|
2017-09-19 11:31:46 -07:00 |
|
Timothy Clem
|
ee7032edc2
|
Merge remote-tracking branch 'origin/master' into ruby-assignment-ftw
|
2017-09-19 11:19:43 -07:00 |
|
Rob Rix
|
f0beb9d2ae
|
Merge branch 'master' into optimized-dedupe
|
2017-09-19 13:54:49 -04:00 |
|
Timothy Clem
|
a0a6b87079
|
Rewrite dedupe with a Map and single pass on the list
|
2017-09-19 10:50:03 -07:00 |
|
Timothy Clem
|
2a0133f1f4
|
Match previous rendering of assignment powered toc summaries
|
2017-09-19 10:12:52 -07:00 |
|
joshvera
|
b03d17de34
|
Merge remote-tracking branch 'origin/master' into typescript-assignment
|
2017-09-19 11:54:51 -04:00 |
|
Timothy Clem
|
fe308277df
|
Merge remote-tracking branch 'origin/master' into ruby-assignment-ftw
|
2017-09-18 08:03:17 -07:00 |
|
Rob Rix
|
8cf25242dd
|
Merge branch 'master' into separate-diff-annotation-parameters
|
2017-09-18 10:46:47 -04:00 |
|
joshvera
|
cbe2419f68
|
Merge remote-tracking branch 'origin/master' into typescript-assignment
|
2017-09-18 10:04:36 -04:00 |
|
Rob Rix
|
34b424028e
|
Apply1 got renamed to Apply.
|
2017-09-18 00:24:08 -04:00 |
|
joshvera
|
c26dcae355
|
Merge remote-tracking branch 'origin/master' into typescript-assignment
|
2017-09-15 14:38:47 -04:00 |
|
Timothy Clem
|
5ddb75a4e3
|
Merge remote-tracking branch 'origin/master' into ruby-assignment-ftw
|
2017-09-14 16:32:45 -07:00 |
|
Timothy Clem
|
44c2d7819c
|
Re-implement dedupe with a Map for SPEED
|
2017-09-14 15:50:36 -07:00 |
|
Rob Rix
|
4645df37ba
|
Fold over both sides of the patch.
|
2017-09-14 14:56:45 -04:00 |
|
Rob Rix
|
bfc0b9d0b0
|
Give Diff a pair of type parameters for the annotation types.
|
2017-09-14 09:41:52 -04:00 |
|
Rob Rix
|
547da73009
|
Define a patch helper to eliminate Patches.
|
2017-09-13 21:55:41 -04:00 |
|
Rob Rix
|
cf9d752d43
|
Parameterize Patch by before and after types.
|
2017-09-13 21:37:23 -04:00 |
|
Rob Rix
|
9de429be45
|
🔥 the SyntaxTerm, SyntaxTermF, & SyntaxDiff type synonyms.
|
2017-09-13 19:14:01 -04:00 |
|
joshvera
|
0e853a5f38
|
Merge remote-tracking branch 'origin/master' into typescript-assignment
|
2017-09-13 18:40:29 -04:00 |
|
Timothy Clem
|
2064db2da8
|
Merge remote-tracking branch 'origin/master' into ruby-assignment-ftw
|
2017-09-13 13:10:12 -07:00 |
|
Rob Rix
|
20e0943c72
|
🔥 the Sum inside Patch nodes.
|
2017-09-13 16:07:22 -04:00 |
|
Rob Rix
|
72574bd836
|
Diffs don’t need let-bindings.
|
2017-09-13 15:59:34 -04:00 |
|
Rob Rix
|
68d484606f
|
Allow variables to occur inside patches.
|
2017-09-13 11:09:35 -04:00 |
|
Rob Rix
|
b6e86601a6
|
Pattern match on diffs instead of using diffF.
|
2017-09-13 09:35:50 -04:00 |
|
Rob Rix
|
19ae29284f
|
Correct double parens & indentation around diff nodes.
|
2017-09-12 08:58:33 -04:00 |
|
Rob Rix
|
16b894e027
|
Define printDiffF in terms of diffF characterization.
|
2017-09-12 08:48:53 -04:00 |
|
Rob Rix
|
38c6795e7e
|
Define tableOfContentsBy in terms of diffF characterization.
|
2017-09-12 08:46:41 -04:00 |
|
joshvera
|
d8e49f38ed
|
Port @tclem's formatTOCError
|
2017-09-11 16:43:47 -04:00 |
|
Rob Rix
|
c2f4ef3572
|
Merge branch 'relocate-json-fields' into directed-acyclic-diffs
|
2017-09-11 16:20:57 -04:00 |
|
Rob Rix
|
6d61c1b683
|
Merge branch 'specialized-terms-and-diffs' into relocate-json-fields
|
2017-09-11 16:12:25 -04:00 |
|
Timothy Clem
|
d581f5a70b
|
Cherry-pick cec6c73ea086e3cd5f164d612666c95ee0cc0ae7
|
2017-09-11 15:54:40 -04:00 |
|
Timothy Clem
|
834ecd717e
|
Cherry-pick 8792b02b1
|
2017-09-11 15:53:52 -04:00 |
|
joshvera
|
e56374f8ba
|
Cherry-pick d51d7a3aee4c3f8dbf3b54d0d83154506542c408
|
2017-09-11 15:51:24 -04:00 |
|
Rob Rix
|
3cc8440fae
|
Rename the TermF constructor to In.
|
2017-09-11 15:36:23 -04:00 |
|
Rob Rix
|
2d25dd44f9
|
Update TOC.
|
2017-09-11 15:21:25 -04:00 |
|
Rob Rix
|
828176f64e
|
Update the s-expression renderer.
|
2017-09-11 12:54:47 -04:00 |
|
Rob Rix
|
127980698e
|
List the imports from Data.Functor.Binding explicitly.
|
2017-09-11 09:32:07 -04:00 |
|
Rob Rix
|
a77f9c36d2
|
Move Metavar & Env to Data.Functor.Binding.
|
2017-09-10 21:22:32 -04:00 |
|
Rob Rix
|
90496bdc1c
|
Copy holds a TermF.
|
2017-09-10 19:40:48 +01:00 |
|
Rob Rix
|
8b6b4dcc00
|
Define metavariables as Ints.
|
2017-09-10 19:14:44 +01:00 |
|
Rob Rix
|
36ac6a4104
|
Rename MetaVar to Metavar.
|
2017-09-10 18:28:21 +01:00 |
|
Rob Rix
|
65c7a5ae0b
|
Produce multiple entries inside patches.
|
2017-09-10 17:12:44 +01:00 |
|
Rob Rix
|
6ee5c2d261
|
Force the after branch of replacements onto the next line.
|
2017-09-10 16:11:07 +01:00 |
|
Rob Rix
|
a2d9decbf0
|
Reformat replacements in sexpression rendering.
|
2017-09-10 16:03:36 +01:00 |
|
Rob Rix
|
5f7adb59be
|
Dedupe replacements.
|
2017-09-10 15:54:40 +01:00 |
|
Rob Rix
|
b330eb45eb
|
Produce only a single entry for patches.
|
2017-09-10 15:38:09 +01:00 |
|
Rob Rix
|
cc1f75cb1a
|
Place entries for patch nodes above the body of the patch.
|
2017-09-10 15:25:38 +01:00 |
|
Rob Rix
|
fd05f7cb80
|
Patches count as changes.
|
2017-09-10 15:23:22 +01:00 |
|
Rob Rix
|
e5d345dca7
|
Simplify the selection of patches.
|
2017-09-10 15:15:14 +01:00 |
|
Rob Rix
|
d678048dfd
|
Fix tables of contents for patches.
|
2017-09-10 10:46:04 +01:00 |
|
Rob Rix
|
8fff046b02
|
Correct s-expression output on the first line.
|
2017-09-09 23:16:24 +01:00 |
|
Rob Rix
|
760955c120
|
Apply padding to terms in renderSExpressionTerm.
|
2017-09-09 23:06:31 +01:00 |
|
Rob Rix
|
b7fa780060
|
Simplify some folds.
|
2017-09-09 23:01:51 +01:00 |
|
Rob Rix
|
e57beaeb9f
|
Tweaks to s-expression rendering.
|
2017-09-09 22:56:41 +01:00 |
|
Rob Rix
|
66fc464357
|
Get rid of the other padding mechanism.
|
2017-09-09 22:27:46 +01:00 |
|
Rob Rix
|
5baab6ea6b
|
Avoid extra newlines on the first line.
|
2017-09-09 21:48:40 +01:00 |
|
Rob Rix
|
987dcb7839
|
Patches recur through Diff.
|
2017-09-09 21:36:18 +01:00 |
|
Rob Rix
|
6eb0f7cff6
|
Add bindings & variables to diffs.
|
2017-09-09 18:14:05 +01:00 |
|
Rob Rix
|
0bfd29fddc
|
Merge branch 'relocate-json-fields' into directed-acyclic-diffs
|
2017-09-09 17:49:12 +01:00 |
|
Rob Rix
|
d0a2687edc
|
🔥 all the LANGUAGE pragmas in Renderer.JSON.
|
2017-09-09 17:46:35 +01:00 |
|
Rob Rix
|
7404b41717
|
Renderer.JSON no longer contains orphan instances.
|
2017-09-09 17:46:08 +01:00 |
|
Rob Rix
|
c83746e74e
|
Move the Output instance for [Value] to Data.Output.
|
2017-09-09 17:45:49 +01:00 |
|
Rob Rix
|
f6f1b21d94
|
Move the Output instance for maps to Data.Output.
|
2017-09-09 17:45:01 +01:00 |
|
Rob Rix
|
5be89f11ee
|
🔥 Renderer.JSON’s export of ToJSONFields.
|
2017-09-09 17:41:24 +01:00 |
|
Rob Rix
|
44aab0edcf
|
Renderer.JSON is decidable.
|
2017-09-09 17:39:46 +01:00 |
|
Rob Rix
|
c6a111b71d
|
🔥 the ToJSON instance for Both.
|
2017-09-09 17:39:08 +01:00 |
|
Rob Rix
|
f30a5d0754
|
Move the ToJSON/ToJSONFields instances for Diff into Diff.
|
2017-09-09 17:37:26 +01:00 |
|
Rob Rix
|
c449ad481e
|
Move the ToJSON/ToJSONFields instances for Term into Term.
|
2017-09-09 17:36:35 +01:00 |
|
Rob Rix
|
8ce60eecb8
|
Lift the Term/Diff ToJSONFields instances to * -> *.
|
2017-09-09 17:35:45 +01:00 |
|
Rob Rix
|
aa78f3eaeb
|
Move the ToJSONFields instance for Category into Category.
|
2017-09-09 17:30:34 +01:00 |
|
Rob Rix
|
0845687d51
|
Move the ToJSONFields instance for Syntax into Syntax.
|
2017-09-09 17:25:55 +01:00 |
|
Rob Rix
|
4e3c34d8f7
|
Move the ToJSONFields instance for Patch into Patch.
|
2017-09-09 17:24:56 +01:00 |
|
Rob Rix
|
41ecede023
|
🔥 the ToJSONFields instance for unpopulated Unions.
|
2017-09-09 17:23:58 +01:00 |
|
Rob Rix
|
5b62e4bf5c
|
Move the ToJSONFields instance for populated Unions into Data.JSON.Fields.
|
2017-09-09 17:23:49 +01:00 |
|
Rob Rix
|
7bb92dfd98
|
Move the ToJSONFields instance for [] into Data.JSON.Fields.
|
2017-09-09 17:23:28 +01:00 |
|