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 |
|
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
|
49e5ce5b73
|
Merge branch 'profiling-improvements' into split-performance
|
2015-12-24 20:06:04 -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 Foldable s.
|
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
|
d355f268e6
|
Hide ++ in the tests.
|
2015-12-23 23:44:02 -05:00 |
|
Rob Rix
|
eb461a3915
|
Concatenate Source s 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 makeSource → fromList .
|
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 |
|
Rob Rix
|
e4225faa20
|
Rename subsource → slice .
|
2015-12-23 23:25:00 -05:00 |
|
Rob Rix
|
55d3ed38a4
|
A let expression makes more sense.
|
2015-12-23 23:23:16 -05:00 |
|
Rob Rix
|
83173a7b96
|
Fewer parens.
|
2015-12-23 23:22:29 -05:00 |
|
Rob Rix
|
03526754e9
|
subsource uses the correct start/length bounds.
|
2015-12-23 23:21:51 -05:00 |
|
Rob Rix
|
588b1a68ee
|
Avoid most of the conversions into/out of Source.
|
2015-12-23 23:17:35 -05:00 |
|
Rob Rix
|
a19115b267
|
Define break over Source .
|
2015-12-23 23:16:09 -05:00 |
|
Rob Rix
|
b6e05008ec
|
cons over Source .
|
2015-12-23 23:06:49 -05:00 |
|
Rob Rix
|
f89b05bb41
|
Define a getVector function for Source .
|
2015-12-23 23:06:38 -05:00 |
|
Rob Rix
|
ee91b130e4
|
Add API to destructure a Source .
|
2015-12-23 23:05:01 -05:00 |
|
Rob Rix
|
08122476e6
|
Add API to test whether a Source is empty.
|
2015-12-23 23:04:50 -05:00 |
|
Rob Rix
|
f3d65ea6db
|
Define actualLines by means of a single conversion to String.
|
2015-12-23 22:55:44 -05:00 |
|
Rob Rix
|
76f11db98e
|
Define Source over Data.Vector.
|
2015-12-23 22:48:31 -05:00 |
|
Rob Rix
|
e9449fccb8
|
Move Source & its API to the Source module.
|
2015-12-23 22:38:20 -05:00 |
|
Rob Rix
|
cc9dee5704
|
Stub in a Source module.
|
2015-12-23 22:38:02 -05:00 |
|
Rob Rix
|
61eccbcd80
|
Link against vector instead.
|
2015-12-23 22:35:55 -05:00 |
|
Rob Rix
|
d7ad161495
|
Build leaves from the sources on either side.
|
2015-12-23 22:34:27 -05:00 |
|
Rob Rix
|
2e823392d1
|
Filter the strings in the sources.
|
2015-12-23 22:30:11 -05:00 |
|
Rob Rix
|
f1ab391423
|
arbitraryLeaf produces a Source.
|
2015-12-23 22:27:48 -05:00 |
|
Rob Rix
|
5e8e9bda5f
|
Construct leaves with subsources.
|
2015-12-23 22:27:42 -05:00 |
|
Rob Rix
|
7b6bc623c9
|
Get some more total ranges from sources.
|
2015-12-23 22:27:30 -05:00 |
|
Rob Rix
|
adc850f328
|
Unwrap the source before filtering.
|
2015-12-23 22:27:21 -05:00 |
|
Rob Rix
|
75ead61274
|
Move getTotalRange into the tests.
It’s kind of a lie.
|
2015-12-23 22:20:35 -05:00 |
|
Rob Rix
|
99b04b4038
|
isOnSingleLine takes a Source.
|
2015-12-23 22:19:29 -05:00 |
|
Rob Rix
|
e0560d272b
|
Use getTotalRange in the tests.
|
2015-12-23 22:18:10 -05:00 |
|
Rob Rix
|
60aecae119
|
Add an Arbitrary instance over Source.
|
2015-12-23 22:18:01 -05:00 |
|