1
1
mirror of https://github.com/github/semantic.git synced 2024-12-28 17:32:05 +03:00
Commit Graph

3995 Commits

Author SHA1 Message Date
Rob Rix
e85e09b25d Merge branch 'master' into profiling-improvements 2015-12-27 12:24:08 -05:00
Josh Vera
e795d2434a Merge pull request #357 from github/split-refactoring
Split refactoring
2015-12-27 09:23:20 -08:00
Rob Rix
d7c1d2b779 Merge branch 'master' into profiling-improvements 2015-12-27 12:22:32 -05:00
Rob Rix
f5cf8bf1c6 Merge branch 'parse-performance' into diff-performance 2015-12-27 12:22:13 -05:00
Josh Vera
821930cf84 Merge pull request #360 from github/strictness
Strictness
2015-12-27 09:21:13 -08:00
Rob Rix
9d3570c88a Merge branch 'split-performance' into parse-performance 2015-12-27 12:20:31 -05:00
Rob Rix
35bbab0868 Merge branch 'profiling-improvements' into split-performance 2015-12-27 12:19:18 -05:00
Rob Rix
df7a51266a Merge branch 'strictness' into profiling-improvements 2015-12-27 12:16:55 -05:00
Rob Rix
be4b25b335 Merge branch 'split-refactoring' into split-performance 2015-12-27 12:16:30 -05:00
Rob Rix
cb56c621e0 Whoops. 2015-12-27 12:16:19 -05:00
Rob Rix
518c0b69b6 Merge branch 'master' into split-refactoring
# Conflicts:
#	src/Range.hs
2015-12-27 12:14:08 -05:00
Rob Rix
faea10ffda Merge branch 'master' into strictness 2015-12-27 12:13:17 -05:00
Josh Vera
8b56839992 Merge pull request #359 from github/ffi-ffs
FFI, ffs
2015-12-26 09:16:29 -08:00
Josh Vera
46ca05e0b4 Merge pull request #355 from github/split-property-tests
Split property tests
2015-12-26 09:07:50 -08:00
Rob Rix
f0b026f07f Revert "Diffs are Church-encoded."
This reverts commit 84e126cb18397fd85e7b12ee0ce2bbde770c4300.
2015-12-24 21:28:42 -05:00
Rob Rix
1404bfabcd Revert "Fix up the tests."
This reverts commit 514a3b6bea410eb77e2f95ae843c1f74fba2fbd1.
2015-12-24 21:28:35 -05:00
Rob Rix
c50a5d0aa7 Fix up the tests. 2015-12-24 21:26:00 -05:00
Rob Rix
7695992f70 Diffs are Church-encoded. 2015-12-24 21:11:09 -05:00
Rob Rix
49e5ce5b73 Merge branch 'profiling-improvements' into split-performance 2015-12-24 20:06:04 -05:00
Rob Rix
8bb1d7f0bf Merge branch 'profiling-improvements' into diff-performance 2015-12-24 19:39:32 -05:00
Rob Rix
37f7f6cde2 Merge branch 'profiling-improvements' into diff-performance
# Conflicts:
#	src/Split.hs
2015-12-24 19:20:37 -05:00
Rob Rix
63f08c406c Merge branch 'parse-performance' into diff-performance 2015-12-24 10:57:33 -05:00
Rob Rix
dfc5fbee04 Merge branch 'split-performance' into parse-performance
# Conflicts:
#	src/Range.hs
2015-12-24 10:56:51 -05:00
Rob Rix
9fdd72b8c6 Optimize maybeLast for vector access. 2015-12-24 10:48:58 -05:00
Rob Rix
7a49534034 Use makeLine as appropriate in the tests. 2015-12-24 10:44:40 -05:00
Rob Rix
c786d2d83d Lines are parameterized by Vectors. 2015-12-24 10:41:07 -05:00
Rob Rix
d6faa15321 Implement intercalate over Foldables. 2015-12-24 10:40:56 -05:00
Rob Rix
2644e8f602 Implement intersperse over Foldables. 2015-12-24 10:40:47 -05:00
Rob Rix
162f51016e Use makeLine to construct contextLines. 2015-12-24 10:38:46 -05:00
Rob Rix
d3e8dd867b Add a makeLine function constructing Lines from lists. 2015-12-24 09:53:05 -05:00
Rob Rix
e6e3d9d450 classifyMarkup takes the first category if any. 2015-12-24 09:51:56 -05:00
Rob Rix
e77b3a8bd4 Add maybeFirst over Foldables. 2015-12-24 09:51:47 -05:00
Rob Rix
e1f5986c21 Qualify the import of Source with less chaff. 2015-12-24 09:51:38 -05:00
Rob Rix
6be93fa749 Dollar sign spaceship operator to the rescue. 2015-12-24 01:10:17 -05:00
Rob Rix
671ecc2c11 Rejigger some parentheses to avoid a $. 2015-12-24 01:09:49 -05:00
Rob Rix
56aa250f96 Eta-reductions. 2015-12-24 01:09:40 -05:00
Rob Rix
d17a44221d Don’t re-sum the costs. 2015-12-24 01:08:53 -05:00
Rob Rix
dba213ebfc Remove an unnecessary $. 2015-12-24 01:08:23 -05:00
Rob Rix
093fc26d13 Use Source.null in the guard. 2015-12-24 00:23:36 -05:00
Rob Rix
9343e9d4ae Do all formatting within Sources. 2015-12-24 00:20:47 -05:00
Rob Rix
cfeb9e4ee8 Move actualLines/actualLineRanges into the Source module. 2015-12-24 00:08:17 -05:00
Rob Rix
d355f268e6 Hide ++ in the tests. 2015-12-23 23:44:02 -05:00
Rob Rix
eb461a3915 Concatenate Sources in actualLines. 2015-12-23 23:41:31 -05:00
Rob Rix
4395e49104 Define Source concatenation. 2015-12-23 23:41:08 -05:00
Rob Rix
69aadf4ec5 Rename makeSourcefromList. 2015-12-23 23:37:51 -05:00
Rob Rix
b138864068 Correct the tests. 2015-12-23 23:36:49 -05:00
Rob Rix
3ca9064869 O(1) indexing. 2015-12-23 23:29:27 -05:00
Rob Rix
8a2aca45e1 Tacit definition of null. 2015-12-23 23:28:13 -05:00
Rob Rix
ad6e7f2ae7 Tacit definition of slice. 2015-12-23 23:27:07 -05:00
Rob Rix
0bb6462fad Rename unSource to toList. 2015-12-23 23:26:37 -05:00