1
1
mirror of https://github.com/github/semantic.git synced 2024-12-25 07:55:12 +03:00
Commit Graph

9100 Commits

Author SHA1 Message Date
joshvera
fd91ffa2c8 Replace alias some types to Diff f (Record fields) 2016-09-16 10:47:30 -04:00
joshvera
4f7ec950a2 Some documentation tweaks 2016-09-16 10:40:26 -04:00
joshvera
b3776d9dc5 Clean up extraneous docs 2016-09-16 10:17:14 -04:00
joshvera
16aae4d95d Move a few declarations into Prologue 2016-09-16 10:14:51 -04:00
joshvera
0713b7ce98 Import hylo and cata 2016-09-15 23:32:54 -04:00
joshvera
45e920c74d Indentation and use term type alias 2016-09-15 23:26:17 -04:00
Rob Rix
d4cef3eb9c 🔥 the dist stuff 2016-09-15 18:47:08 -04:00
Rob Rix
2a62dd7bfc Merge branch 'master' into ghc8
# Conflicts:
#
tools/semantic-git-diff/test/corpus/diff-summaries/javascript/chained-ca
llbacks.json
2016-09-15 18:40:04 -04:00
Rob Rix
e6372deeb6 🔥 a redundant constraint. 2016-09-15 18:38:18 -04:00
Rob Rix
8d465b96ab Annotate the leaf type. 2016-09-15 18:34:54 -04:00
Rob Rix
97b7f27683 Give a type signature for decorate.
This fixes a problem where ghc will loop forever trying to infer the
type.
2016-09-15 18:32:57 -04:00
Rob Rix
d0395cd227 🔥 some redundant parens. 2016-09-15 18:12:32 -04:00
Rob Rix
025502729d Correct for precedence. 2016-09-15 17:54:33 -04:00
Rob Rix
64d1d6b407 Monoid/Semigroup stuff. 2016-09-15 17:21:37 -04:00
joshvera
3960697916 whitespace 2016-09-15 16:50:44 -04:00
joshvera
c7eeb1e075 Add TermOrIndexOrNil in place of a partial tuple of these and the term 2016-09-15 16:47:11 -04:00
joshvera
3c888c6650 Add fineNearestNeighbourToDiff in order to update the State indices for SES mapped terms 2016-09-15 16:39:22 -04:00
joshvera
ac398aaec6 Change move bound back to 2 2016-09-15 15:25:19 -04:00
Rob Rix
5e3583240b Merge branch 'master' into pretty-print-expectations 2016-09-15 15:12:40 -04:00
Rob Rix
d28f5e7995 Merge pull request #746 from github/do-while-diff-summaries
Retain context for in diff summary output for do-while statements
2016-09-15 15:12:15 -04:00
Rob Rix
57a7a01b77 Merge branch 'master' into do-while-diff-summaries
# Conflicts:
#
tools/semantic-git-diff/test/corpus/diff-summaries/javascript/chained-ca
llbacks.json
2016-09-15 15:04:33 -04:00
joshvera
24e02273d1 Clean up some insertDiff 2016-09-15 14:17:38 -04:00
joshvera
3d36d0fc59 Make sure isInMoveBounds is less than the sum of previous + defaultMoveBound
And change defaultMoveBound to 1
2016-09-15 14:09:23 -04:00
joshvera
61fe492616 Start at the lowest index in fas 2016-09-15 13:45:46 -04:00
joshvera
0abd720206 Recur into the tail if after is empty 2016-09-15 13:18:10 -04:00
joshvera
c26260057a Use insertDiff to insert Theses in front of ambigous This and Thats 2016-09-15 13:12:48 -04:00
joshvera
f21420cb3d Revert "Keep track of indices as Indices instead of These"
This reverts commit 5eacda831ecc80b9f8c1ca31babf4a7bcd33dcbd.
2016-09-15 12:01:00 -04:00
joshvera
169024f02e Keep track of indices as Indices instead of These 2016-09-15 11:34:51 -04:00
Rob Rix
a66133e40f Merge branch 'master' into markdown 2016-09-15 10:32:56 -04:00
Rob Rix
918f67c470 Merge pull request #820 from github/summarizing-pairs
Summarizing pairs
2016-09-15 09:56:32 -04:00
Rob Rix
980f89505e 🔥 more redundant constraints/imports. 2016-09-14 19:28:13 -04:00
Rob Rix
996f9f5fa7 Define <> locally. 2016-09-14 19:26:41 -04:00
Rob Rix
aa240c4e63 🔥 a slew of redundant constraints. 2016-09-14 19:23:54 -04:00
Rob Rix
fc43dd54a0 🔥 a redundant import. 2016-09-14 19:23:40 -04:00
Rob Rix
795b6acbea 🔥 half a function I didn’t mean to commit 😬 2016-09-14 19:21:04 -04:00
Rob Rix
7a0534eaaf 🔥 -threaded & -fprof-auto on the lib.
Because:

```
Warning: 'ghc-options: -threaded' has no effect for libraries. It
should only
be used for executables.
Warning: 'ghc-options: -with-rtsopts' has no effect for libraries. It
should
only be used for executables.
```
2016-09-14 19:15:52 -04:00
Timothy Clem
4645bbda08 Remove breakDownLeavesByWord entirely 2016-09-14 15:02:37 -07:00
Timothy Clem
b661b76278 Merge remote-tracking branch 'origin/master' into number-literal 2016-09-14 14:55:15 -07:00
Timothy Clem
6e0e1fabf9 Merge remote-tracking branch 'origin/master' into summarizing-pairs 2016-09-14 14:54:34 -07:00
Rick Winfrey
1a25bf9a11 Add RangeSpec to specs 2016-09-14 16:45:34 -05:00
Rick Winfrey
a4c5a26533 Add pretty diff expectations to semantic diff tests 2016-09-14 16:45:23 -05:00
Rick Winfrey
2f2dd26fbc Add hspec-expectations-pretty-diff to semantic-diff 2016-09-14 16:44:46 -05:00
Rob Rix
25f4fa4bcb Mergeable implies Functor. 2016-09-14 17:13:10 -04:00
Rick Winfrey
91b12b71d0 Change semantic-diff-test -> test 2016-09-14 16:12:06 -05:00
Rob Rix
ed2395b952 🔥 a redundant constraint. 2016-09-14 17:09:50 -04:00
Rob Rix
6dee6cdde9 Deal with some semigroups fallout. 2016-09-14 16:51:43 -04:00
Rob Rix
2e28d0d582 Data.These has its own Arbitrary instance these days. 2016-09-14 16:42:01 -04:00
Rob Rix
9f93b1090c Corecursive, not Unfoldable. 2016-09-14 16:40:25 -04:00
Rob Rix
1df89950ab Correct a conflict that got committed. 2016-09-14 16:39:33 -04:00
Rick Winfrey
eb38377489 Merge branch 'do-while-diff-summaries' of github.com:github/semantic-diff into do-while-diff-summaries 2016-09-14 15:34:22 -05:00