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

101 Commits

Author SHA1 Message Date
Rob Rix
d02f6484db Generic instances everywhere, why not. 2016-02-29 20:38:41 -05:00
Rob Rix
c889174aee Use Both to represent Diff annotations. 2016-02-29 10:12:34 -05:00
Rob Rix
93e44a3dc5 Sort some imports. 2016-02-29 10:04:59 -05:00
Rob Rix
13e3a0e3d1 Add record fields to Annotated. 2016-02-25 16:49:02 -07:00
Matt Diephouse
9601535555 By happy accident, we only need to delete this type 2016-02-05 13:48:30 -05:00
Matt Diephouse
170b7c6e1e Rename Categorizable module to Category 2016-02-04 13:59:33 -05:00
Matt Diephouse
0ed87b80d4 Clarify the documentation for Annotated 2016-01-14 13:50:19 -05:00
Matt Diephouse
b05c9e2ca5 s/nodes/terms/ 2016-01-14 13:47:56 -05:00
Matt Diephouse
bf86574fa6 Document declarations in Diff.hs 2016-01-14 12:30:21 -05:00
Rob Rix
745ee35816 Annotated is strict in its annotation and syntax.. 2015-12-23 17:55:19 -05:00
Rob Rix
094fd90f91 Info is now strict. 2015-12-23 17:51:52 -05:00
Rob Rix
98bde6b555 Eta reduction. 2015-12-23 17:50:29 -05:00
Rob Rix
d30bc17c16 Remove redundant parentheses. 2015-12-23 17:50:26 -05:00
Rob Rix
077c8194b2 Spacing. 2015-12-23 17:49:59 -05:00
joshvera
e51492b8d5 Remove line range from Info 2015-12-14 15:52:39 -05:00
joshvera
2a063d3277 Move Range to a module 2015-12-02 21:40:34 -05:00
joshvera
1dd8d93ce1 use fromIntegral 2015-12-02 14:29:19 -05:00
Rob Rix
1b5f6b848d stub line ranges in Info 2015-12-01 14:51:21 -05:00
Rob Rix
90b1cce022 Minimal summation of diffs. 2015-12-01 10:13:05 -05:00
Rob Rix
932e07d47d Annotated is Foldable. 2015-12-01 10:12:52 -05:00
Rob Rix
7740654d68 diffCost sums term sizes. 2015-11-30 19:16:22 -05:00
Rob Rix
4c403422ce Add a diffSum function. 2015-11-30 19:06:48 -05:00
Rob Rix
5aa8d4a3c0 Rename cost to diffCost. 2015-11-27 12:06:14 -05:00
Rob Rix
222aba8e46 Ranges have Int bounds. 2015-11-19 15:05:29 -08:00
Rob Rix
0c6ba1f3a6 Info uses the Category type. 2015-11-19 14:36:07 -08:00
Rob Rix
1394b60d2c Add a Category type name. 2015-11-19 14:35:46 -08:00
Rob Rix
486f3a4732 Factor out a pattern match. 2015-11-19 12:20:57 -08:00
Rob Rix
0cced151ea Remove some obsolete imports. 2015-11-19 12:13:45 -08:00
Rob Rix
4298956f37 Info is Categorizable. 2015-11-19 12:06:34 -08:00
Rob Rix
7138d9fb1b Info has a Range and a set of categories. 2015-11-19 12:04:18 -08:00
Rob Rix
53b6c6846c Ranges are equatable and showable. 2015-11-19 12:02:53 -08:00
Rob Rix
e6385e2832 Diffs are annotated. 2015-11-19 11:27:31 -08:00
Rob Rix
ee4da4218d Add an Annotated syntax type. 2015-11-18 17:35:03 -08:00
Rob Rix
c595fda525 Ranges are bounded by integers. 2015-11-18 17:35:03 -08:00
Rob Rix
680465dfbf Abstract Diff over an annotation type. 2015-11-18 13:23:47 -08:00
Rob Rix
359c1818d0 Use const. 2015-11-18 12:09:08 -08:00
Rob Rix
c7336dae2c Remove Data.Fix. 2015-11-18 11:54:08 -08:00
Rob Rix
e74340d4cf 🔥 the RangedWhatever things. 2015-11-18 11:50:30 -08:00
Rob Rix
5129bc455b Move the diff fixture thing to the executable. 2015-11-18 11:45:23 -08:00
Rob Rix
a47ad36d98 Move the definition of Term into the Term module. 2015-11-18 11:28:16 -08:00
Rob Rix
09d10875c3 Info is Equatable. 2015-11-18 11:19:16 -08:00
Rob Rix
da3bf047b1 Patch is algebraic. 2015-11-17 18:44:55 -08:00
Rob Rix
e700c407f2 Move Patch into its file. 2015-11-17 18:23:53 -08:00
Rob Rix
3829f4492d Remove the old interpret function. 2015-11-17 17:04:05 -08:00
Rob Rix
5438acf1fb Add Algorithm. 2015-11-17 16:24:01 -08:00
Rob Rix
a71385b22e Indentation stuff. 2015-11-17 16:17:42 -08:00
Rob Rix
c8b573cb33 Move Operation into its own file. 2015-11-17 15:14:57 -08:00
Rob Rix
313019fa3a Remove all the parentheses ever. 2015-11-17 15:09:42 -08:00
Rob Rix
4f84059c0b Remove redundant. 2015-11-17 15:07:06 -08:00
Rob Rix
b2660e2b1c Parenthesize some things. 2015-11-17 15:06:24 -08:00
Rob Rix
d34c71ccf1 Move the sources into the package. 2015-11-17 14:49:59 -08:00