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

7020 Commits

Author SHA1 Message Date
joshvera
ce219977a6 formatting 2016-06-01 17:55:47 -04:00
joshvera
0c646d8a8c Remove redundant module names 2016-06-01 17:41:28 -04:00
joshvera
0157b6588c Return the entire diff as a deletion or insertion when a source blob is empty 2016-06-01 17:41:12 -04:00
joshvera
583206d728 Export Join from Data.Functor.Both so we can use runJoin 2016-06-01 17:39:26 -04:00
Rob Rix
19d4dfc4ff Merge pull request #581 from github/fix_script_build
script/build: fix name of Darwin script
2016-06-01 16:29:38 -04:00
Rob Rix
a05ea95487 Merge branch 'master' into fix_script_build 2016-06-01 16:26:25 -04:00
Rob Rix
5b194768ca Merge pull request #578 from github/render-diff-summaries-as-json
Render diff summaries as json
2016-06-01 16:25:59 -04:00
Rob Rix
4ea9eba71c Merge branch 'master' into render-diff-summaries-as-json 2016-06-01 16:23:39 -04:00
Rob Rix
ef47e435aa Merge branch 'master' into benchmark-alignment
# Conflicts:
#	test/TermSpec.hs
2016-06-01 16:22:02 -04:00
joshvera
7ba3db2fdd ++tree-sitter-parsers 2016-06-01 13:59:58 -04:00
Rob Rix
43c16c9e28 Merge pull request #579 from github/category-info
Change Info’s categories Set to a Category
2016-06-01 13:36:50 -04:00
Rob Rix
d1884c2908 Put the term generator sizing test into its own group. 2016-06-01 12:30:05 -04:00
Rob Rix
1e049c7dcb Generate arbitrarily-sized terms. 2016-06-01 12:17:42 -04:00
joshvera
6bb2be56cc update fixtures 2016-06-01 12:17:07 -04:00
joshvera
06a06eb5ac remove unused import 2016-06-01 12:16:59 -04:00
joshvera
3115adec93 Change JSON category key to category and update docs 2016-06-01 12:08:40 -04:00
Rob Rix
5b5add0c2d Only generate leaves when the size is <= 1. 2016-06-01 12:07:16 -04:00
Rob Rix
6a7ec24640 Test that we generate terms of the specified size. 2016-06-01 11:52:43 -04:00
Rob Rix
13277ddc51 Terminate on n < 0. 2016-06-01 11:48:16 -04:00
Rob Rix
5c33cd1038 Add a section header above the Arbitrary instance. 2016-06-01 09:23:01 -04:00
Rob Rix
3b04523bb9 Extract termOfSize to the top level. 2016-06-01 09:22:48 -04:00
Rob Rix
69fbaf8337 semantic-diff depends on QuickCheck. 2016-06-01 09:18:31 -04:00
Rob Rix
2064d3af8a Depend on semantic-diff’s definition of ArbitraryTerm in the tests. 2016-06-01 09:16:47 -04:00
Rob Rix
3d4a348072 Depend on semantic-diff’s definition of ArbitraryTerm in the benchmarks. 2016-06-01 09:15:15 -04:00
Rob Rix
29c3f203ce Define a linear Arbitrary instance for ArbitraryTerm. 2016-06-01 09:14:59 -04:00
Rob Rix
d9a13717b6 Define toTerm in Term.Arbitrary. 2016-06-01 09:14:29 -04:00
Rob Rix
6206f8ae93 Define ArbitraryTerm in Term.Arbitrary. 2016-06-01 09:14:06 -04:00
Rob Rix
3ada142796 Stub in a module for arbitrary Terms. 2016-06-01 09:03:15 -04:00
Rob Rix
49898ba79e Try to generate ArbitraryTerms at fixed sizes. 2016-06-01 08:40:57 -04:00
Rob Rix
6eb99db102 Spacing. 2016-05-31 21:05:07 -04:00
Rob Rix
77e05809c6 Shrink ArbitraryDiffs. 2016-05-31 20:46:40 -04:00
Rob Rix
aa5f3f35ed Generate arbitrary Pure cases. 2016-05-31 20:46:35 -04:00
Rob Rix
bbec20d2b5 Define ArbitraryDiff over ArbitraryTerm. 2016-05-31 20:46:18 -04:00
Rob Rix
5925d3d3d4 Implement shrink over Patch. 2016-05-31 20:46:03 -04:00
Rob Rix
fe6d638673 Derive a Traversable instance over Patch. 2016-05-31 20:41:12 -04:00
Rob Rix
28b7909e06 Add an Arbitrary instance over ArbitraryTerm. 2016-05-31 20:39:52 -04:00
Rob Rix
f8443c855c Add an Arbitrary instance over Patch. 2016-05-31 20:39:39 -04:00
Rob Rix
ea16b4616c Add ArbitraryTerm to the benchmarks. 2016-05-31 20:39:24 -04:00
Rob Rix
ad8a6fd241 Simplify the definition of arbitrary over ArbitraryTerm. 2016-05-31 20:33:13 -04:00
Rob Rix
f0f11a9f0a Simplify the definition of arbitrary over ArbitraryDiff. 2016-05-31 20:32:55 -04:00
Rob Rix
514c513f13 Simplify the definition of shrink over ArbitraryTerm. 2016-05-31 20:31:32 -04:00
Rob Rix
36168c1698 Rename unTerm to toTerm. 2016-05-31 20:29:12 -04:00
Rob Rix
dadaa6b420 Add an Arbitrary instance for ArbitraryDiff. 2016-05-31 20:24:49 -04:00
Rob Rix
fd4ad219ae Construct Diffs from ArbitraryDiffs. 2016-05-31 20:19:51 -04:00
Rob Rix
206c3cddc3 Add an ArbitraryDiff newtype wrapper. 2016-05-31 20:19:39 -04:00
Rob Rix
484ed765f0 Use the field accessor to define unTerm. 2016-05-31 20:17:49 -04:00
Rob Rix
50c6c6c4fa Define a field accessor for ArbitraryTerm. 2016-05-31 20:17:42 -04:00
Rob Rix
39ddbfc60f Add the DiffF type synonym back in. 2016-05-31 20:16:19 -04:00
Rob Rix
2696635aa4 ArbitraryTerm uses the TermF type synonym. 2016-05-31 20:15:24 -04:00
Rob Rix
37f960b6d1 ArbitraryTerm wraps CofreeF. 2016-05-31 20:14:38 -04:00