Rob Rix
|
c89ee864ca
|
🔥 rangeAt.
|
2017-05-19 11:17:21 -04:00 |
|
Timothy Clem
|
94dc2ac506
|
Implement NFData instances so we can deepseq
|
2017-03-13 16:46:52 -07:00 |
|
Rob Rix
|
3298641a3b
|
Define a function to divide a range in two.
|
2017-02-10 15:22:27 -05:00 |
|
Rob Rix
|
35c39e8b56
|
Change subtractRange to offsetRange.
This has slightly clearer semantics.
|
2017-02-10 11:11:25 -05:00 |
|
Rob Rix
|
3d975ece64
|
Move totalRange to Source properly.
|
2017-02-10 11:08:17 -05:00 |
|
Timothy Clem
|
7ba739a508
|
Properly calculate range for subterms
|
2017-02-09 14:47:35 -08:00 |
|
Rob Rix
|
ac4df9a7b3
|
Remove the Foldable instance for Source.
|
2017-02-09 17:10:16 -05:00 |
|
Rob Rix
|
7dc2406848
|
🔥 Range.maybeConcat.
|
2017-01-20 14:36:40 -05:00 |
|
Rob Rix
|
ea3278b745
|
Define unionRangesFrom in terms of the Semigroup instance.
|
2017-01-20 14:36:28 -05:00 |
|
Rob Rix
|
f8c4b00411
|
🔥 unionRanges.
|
2017-01-20 14:36:10 -05:00 |
|
Rob Rix
|
8e1c5706b6
|
Replace uses of (.:) with (:.).
|
2017-01-19 15:46:28 -05:00 |
|
Rob Rix
|
1ee9a60039
|
🔥 Arbitrary instances.
|
2017-01-09 14:59:04 -05:00 |
|
Rob Rix
|
e1ee210468
|
Define a Listable instance over Range.
|
2017-01-05 14:42:57 -05:00 |
|
Rick Winfrey
|
a817d950dd
|
Add Generic instance to Range
|
2016-11-03 17:09:28 -05:00 |
|
joshvera
|
1c3fe8e944
|
Add StrictData to semantic-diff library
|
2016-10-12 18:28:46 -04:00 |
|
joshvera
|
4281549eb0
|
Add -funbox-strict-fields annotations to some data types
|
2016-10-12 17:28:27 -04:00 |
|
joshvera
|
09304a5df2
|
Add strictness annotations to a few types
|
2016-10-12 16:34:12 -04:00 |
|
joshvera
|
ec7bd00cca
|
Remove unused import
|
2016-08-24 14:07:52 -04:00 |
|
joshvera
|
9443a7a141
|
Remove duplicate ToJSON instance
|
2016-08-22 10:32:33 -04:00 |
|
joshvera
|
7541160bc3
|
WIP
|
2016-08-21 21:51:48 -04:00 |
|
Rob Rix
|
50c9d37cb1
|
Placate hlint.
|
2016-07-13 15:33:53 -04:00 |
|
Rob Rix
|
45b0571221
|
Add an Arbitrary instance over Range.
|
2016-07-13 15:33:44 -04:00 |
|
Rob Rix
|
a6eace739c
|
Section header for instances.
|
2016-07-13 15:31:09 -04:00 |
|
Rob Rix
|
7802d4916c
|
🔥 FlexibleInstances & RecordWildCards pragmas.
|
2016-06-03 16:02:06 -04:00 |
|
Rob Rix
|
ee0bfac0a9
|
Simplify the range intersection test.
|
2016-06-01 20:52:24 -04:00 |
|
Rob Rix
|
e1680f85b0
|
Revert "Revert "Revert "Correct the computation of range intersection."""
This reverts commit d90ebc2d0bc2fdca281b827c903086be1f7abdbd.
|
2016-05-27 14:33:57 -04:00 |
|
Rob Rix
|
81fd09ae25
|
Revert "Revert "Correct the computation of range intersection.""
This reverts commit 02bcb272e36a62a90c099af22add47c69160e941.
|
2016-05-27 14:27:50 -04:00 |
|
Rob Rix
|
1cb7946cb0
|
Revert "Correct the computation of range intersection."
This reverts commit 988914aefb3a89676cecbbe1654370c08f886be0.
|
2016-05-27 14:24:36 -04:00 |
|
Rob Rix
|
835f38bdf8
|
Correct the computation of range intersection.
|
2016-05-27 14:22:45 -04:00 |
|
Rob Rix
|
cfe15a5afa
|
Merge branch 'master' into cofree-and-bifunctors-sitting-in-a-tree-a-l-i-g-n-edly
# Conflicts:
# src/Alignment.hs
# src/Control/Comonad/Cofree.hs
# src/Data/Adjoined.hs
# src/Data/Align.hs
# src/Data/Bifunctor/These.hs
# src/Data/Coalescent.hs
# src/Data/Copointed.hs
# src/Data/Functor/Both.hs
# src/Data/Option.hs
# src/Line.hs
# src/Patch.hs
# src/Range.hs
# src/Renderer/JSON.hs
# src/Renderer/Patch.hs
# src/Renderer/Split.hs
# src/SplitDiff.hs
# stack.yaml
# test/AlignmentSpec.hs
# test/CorpusSpec.hs
# test/Data/Adjoined/Spec.hs
# test/Data/Functor/Both/Spec.hs
|
2016-05-26 15:25:45 -04:00 |
|
joshvera
|
8180b37285
|
Use Protolude via the Prologue module and add NoImplicitPrelude
|
2016-05-26 12:58:04 -04:00 |
|
Rob Rix
|
eeab8580ff
|
< != >
|
2016-05-17 15:57:18 -04:00 |
|
Rob Rix
|
0b45e06c91
|
Implement intersectsRange in terms of intersectionRange (i.e. correctly).
|
2016-05-17 15:31:46 -04:00 |
|
Rob Rix
|
d4618e486c
|
Compute the intersection of two ranges.
|
2016-05-17 15:20:51 -04:00 |
|
Rob Rix
|
2ca1caaa98
|
Replace Data.Option with a dependency on semigroups.
|
2016-04-15 12:20:27 -04:00 |
|
Rob Rix
|
92b4fcba1b
|
📝 intersectsRange.
|
2016-04-15 09:34:58 -04:00 |
|
Rob Rix
|
012425b11a
|
Move intersectsRange to Range.
|
2016-04-15 09:34:34 -04:00 |
|
Rob Rix
|
4d25c23618
|
🔥 offsetRange.
|
2016-03-09 01:52:45 -05:00 |
|
Rob Rix
|
2b231edab4
|
🔥 substring.
|
2016-03-09 01:52:20 -05:00 |
|
Rob Rix
|
471449985a
|
🔥 sublist.
|
2016-03-09 01:51:39 -05:00 |
|
Rob Rix
|
67fd5c3da4
|
Generalize totalRange to arbitrary Foldables.
|
2016-03-09 01:43:22 -05:00 |
|
Rob Rix
|
78aeffde06
|
Remove the Functor constraint from unionRanges.
|
2016-03-04 20:10:45 -05:00 |
|
Rob Rix
|
9529d3aab0
|
Revert "Add a maybeUnionRanges function."
This reverts commit 183d77173ea6a9250092710996c066d3af19d816.
|
2016-03-04 20:08:10 -05:00 |
|
Rob Rix
|
e1ea26206a
|
Revert "Document maybeUnionRanges."
This reverts commit 25dc580212e0c8f6964208b828771fba767933b9.
|
2016-03-04 20:08:07 -05:00 |
|
Rob Rix
|
650663c83f
|
Revert "Simplify maybeUnionRanges."
This reverts commit 62e79ec5206aa8d07984927f60c0367f3e7aac13.
|
2016-03-04 20:08:04 -05:00 |
|
Rob Rix
|
d9e74e1f55
|
Revert "Define maybeUnionRanges as a specialization of maybeConcat."
This reverts commit 3210ab6fe6e660106c3c2e1ae92af733ed27c5b0.
|
2016-03-04 20:07:59 -05:00 |
|
Rob Rix
|
8325042643
|
Define unionRangesFrom with maybeConcat.
|
2016-03-04 20:07:52 -05:00 |
|
Rob Rix
|
2ca378db0d
|
Define maybeUnionRanges as a specialization of maybeConcat.
|
2016-03-04 20:07:04 -05:00 |
|
Rob Rix
|
6b17c3c1ff
|
Simplify maybeUnionRanges.
|
2016-03-04 20:03:37 -05:00 |
|
Rob Rix
|
aea8e3e200
|
Document maybeUnionRanges.
|
2016-03-04 20:00:01 -05:00 |
|