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

15233 Commits

Author SHA1 Message Date
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
3231d85347 Define a lifting of ToJSONFields to * -> *. 2017-09-09 17:31: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
Rob Rix
c1b521ab9b Move the ToJSONFields instance for Maybe into Data.JSON.Fields. 2017-09-09 17:23:14 +01:00
Rob Rix
d7a5ea152d Move the ToJSONFields instance for Span into Data.Span. 2017-09-09 17:20:43 +01:00
Rob Rix
42c1795c0a Move the ToJSONFields instance for Range into Data.Range. 2017-09-09 17:19:46 +01:00
Rob Rix
62603c803c Move the ToJSONFields/ToJSON instances for Records into Data.Record. 2017-09-09 17:18:24 +01:00
Rob Rix
7a88cad094 Move the ToJSONFields instance for Both into the Data.JSON.Fields module. 2017-09-09 17:18:10 +01:00
Rob Rix
3e12a91359 Move ToJSONFields into its own module. 2017-09-09 17:16:00 +01:00
Rob Rix
c69e3383e3 Define a module for JSONFields. 2017-09-09 17:15:22 +01:00
Rob Rix
acff088e68 Define printTerm as a catamorphism. 2017-09-09 16:58:41 +01:00
Rob Rix
9765775242 Define printDiff as a catamorphism. 2017-09-09 16:55:32 +01:00
Rob Rix
1801fdc1a8 Define a diff evaluator. 2017-09-09 16:52:06 +01:00
Rob Rix
1637fa62a4 Define diffSum as a simpler catamorphism. 2017-09-09 16:09:55 +01:00
Rob Rix
9f795e0c54 Define an environment type. 2017-09-09 16:08:54 +01:00
Rob Rix
4c2ce050de Define a metavariable type. 2017-09-09 15:52:33 +01:00
Rob Rix
825990cfce Constrain a type to Int. 2017-09-09 14:59:33 +01:00
Rob Rix
9c97ea7c48 More 🔥 2017-09-09 14:59:03 +01:00
Rob Rix
2a7a937a7e 🔥 a bunch more redundant imports. 2017-09-09 14:58:07 +01:00
Rob Rix
10b262e069 🔥 a stray import. 2017-09-09 14:54:49 +01:00
Rob Rix
24914eeb05 Move the remaining Listable instances into the tests. 2017-09-09 14:51:37 +01:00
Rob Rix
3ad5374b94 Move all the Listable stuff into the tests. 2017-09-09 14:44:57 +01:00
Rob Rix
eb01f7450a Correct the diffSize helper. 2017-09-09 14:30:42 +01:00
Rob Rix
7258682862 Fix one of the ToC tests. 2017-09-09 14:28:43 +01:00
Rob Rix
f01c65a0a2 Define a function computing the list of patches in a diff. 2017-09-09 14:23:20 +01:00
Rob Rix
a1bfea611f Update all the tests. 2017-09-09 14:18:08 +01:00
Rob Rix
0282bf1dae Define a Listable instance for Diff. 2017-09-09 13:48:48 +01:00
Rob Rix
63f2961e4b Define a Listable1 instance for Diff. 2017-09-09 13:48:25 +01:00
Rob Rix
32984965f8 Add Patch to the Listable2 instance for DiffF. 2017-09-09 13:47:51 +01:00
Rob Rix
a4e98d4318 Define a Listable instance for DiffF. 2017-09-09 13:46:21 +01:00
Rob Rix
6c744336a8 Define a Listable1 instance for DiffF. 2017-09-09 13:45:52 +01:00
Rob Rix
923a39faae Define Listable instances for TermF & Term. 2017-09-09 13:45:22 +01:00
Rob Rix
fa5aeb6ee6 Define a Listable2 instance for DiffF. 2017-09-09 13:44:07 +01:00
Rob Rix
1e6bd6e27e Define a Traversable instance for Diff. 2017-09-09 13:41:10 +01:00
Rob Rix
ff1cc394c4 Define a Foldable instance for Diff. 2017-09-09 13:40:07 +01:00
Rob Rix
a9ac82819c Give a different instance of Functor for Diff. 2017-09-09 13:39:04 +01:00
Rob Rix
8df8b345e7 Define a Bitraversable instance for DiffF. 2017-09-09 13:37:11 +01:00
Rob Rix
e42152dca8 Define a Bifoldable instance for DiffF. 2017-09-09 13:35:59 +01:00
Rob Rix
2094dd059b Derive Foldable & Traversable instances for DiffF. 2017-09-09 13:34:08 +01:00
Rob Rix
48175bb9b0 Define a Show instance for Diff. 2017-09-09 12:35:20 +01:00
Rob Rix
0df5175798 Define a Show1 instance for Diff. 2017-09-09 12:34:47 +01:00
Rob Rix
e7735ad131 Define an Eq instance for Diff. 2017-09-09 12:33:35 +01:00