Rob Rix
|
5bd9684a1d
|
Remove weird backticks.
|
2015-12-21 15:14:26 -05:00 |
|
Rob Rix
|
bd680b966d
|
Define splitTermByLines over Keyed terms.
|
2015-12-21 15:13:57 -05:00 |
|
Rob Rix
|
66e6c0d69b
|
Define contextLines over Monoid s using mempty .
|
2015-12-21 15:13:37 -05:00 |
|
Rob Rix
|
d2e4646b5b
|
Drop redundant parentheses.
|
2015-12-21 15:12:26 -05:00 |
|
Rob Rix
|
bba1dd7f4b
|
Eta reduce fromList.
|
2015-12-21 15:12:05 -05:00 |
|
Rob Rix
|
fcfe258014
|
Implement ! using fromMaybe .
|
2015-12-21 15:11:59 -05:00 |
|
Rob Rix
|
4a15e11f3b
|
OrderedMaps of Eq keys are Monoids.
|
2015-12-21 15:09:39 -05:00 |
|
Rob Rix
|
4030b8d9e2
|
Define splitTermByLines over Fixed terms.
|
2015-12-21 15:00:40 -05:00 |
|
Rob Rix
|
29c136c80f
|
Define splitTermByLines over Indexed terms using adjoinTermLines .
|
2015-12-21 15:00:03 -05:00 |
|
Rob Rix
|
cf6f96dcd2
|
Extract a function to adjoin the lines in child terms.
|
2015-12-21 14:59:43 -05:00 |
|
Rob Rix
|
426d83a60a
|
Define splitTermByLines over Indexed terms.
|
2015-12-21 14:57:33 -05:00 |
|
Rob Rix
|
8fa370cb62
|
Add a childLines function.
This serves the same purpose as `sumLines` does in `termToLines`, but I
find the name preferable for this use case.
|
2015-12-21 14:57:22 -05:00 |
|
Rob Rix
|
8e652e80ee
|
Add a contextLines function.
|
2015-12-21 14:56:55 -05:00 |
|
Rob Rix
|
ab79e9d99f
|
Extract the adjoining fold into an adjoin binding.
|
2015-12-21 14:32:59 -05:00 |
|
Rob Rix
|
dc2c130936
|
Tidy up the sumLines definition.
|
2015-12-21 14:31:56 -05:00 |
|
Rob Rix
|
50d82831cd
|
Inline the definition of separatorLines.
|
2015-12-21 14:30:55 -05:00 |
|
Rob Rix
|
fb78fa7535
|
Extract an adjoin binding in termToLines .
|
2015-12-21 14:30:20 -05:00 |
|
Rob Rix
|
aa0dd5d2ca
|
Define splitTermByLines over actualLineRanges.
|
2015-12-21 14:24:32 -05:00 |
|
Rob Rix
|
6088777b69
|
Add an actualLineRanges function.
|
2015-12-21 14:24:14 -05:00 |
|
Rob Rix
|
d500810f90
|
Define a splitTermsByLines function over leaves.
|
2015-12-21 14:20:13 -05:00 |
|
Rob Rix
|
31afc5de11
|
Replace some $s with some .s.
|
2015-12-21 13:36:08 -05:00 |
|
Rob Rix
|
3ef66954b6
|
Remove the Monoid instance for Row a .
|
2015-12-21 13:29:21 -05:00 |
|
Rob Rix
|
e1b15b7bdc
|
Handle empty rows without reference to the Monoid instance for Row.
|
2015-12-21 13:29:04 -05:00 |
|
Rob Rix
|
ce5911b9b6
|
Remove a redundant mappend case.
|
2015-12-21 13:26:59 -05:00 |
|
Rob Rix
|
cefbdd400e
|
Simplify mappend over Lines.
|
2015-12-21 13:26:51 -05:00 |
|
Rob Rix
|
b857464c44
|
Reformat a comment.
|
2015-12-21 13:25:32 -05:00 |
|
Rob Rix
|
fc819fb48d
|
Remove rightLines.
|
2015-12-21 13:21:31 -05:00 |
|
Rob Rix
|
d38f94df8c
|
Remove leftLines.
|
2015-12-21 13:21:23 -05:00 |
|
Rob Rix
|
2b5712cd58
|
fmap unRight over rows directly.
|
2015-12-21 13:21:09 -05:00 |
|
Rob Rix
|
7b0ea6678e
|
fmap unLeft over rows directly.
|
2015-12-21 13:20:47 -05:00 |
|
Rob Rix
|
6e76f3e618
|
Define rightLines in terms of unRight.
|
2015-12-21 13:19:51 -05:00 |
|
Rob Rix
|
71ca4fc147
|
Define leftLines in terms of unLeft.
|
2015-12-21 13:19:45 -05:00 |
|
Rob Rix
|
693028f70c
|
Define field accessors for the left & right lines in a Row.
|
2015-12-21 13:18:41 -05:00 |
|
Rob Rix
|
568df9937b
|
Define classify in terms of maybeLast.
|
2015-12-21 13:15:37 -05:00 |
|
Rob Rix
|
2c703b30e4
|
Remove the inner rowFromMaybeRows.
|
2015-12-21 13:12:35 -05:00 |
|
Rob Rix
|
ea161cdd4a
|
Generalize the other rowFromMaybeRows.
|
2015-12-21 13:11:01 -05:00 |
|
Rob Rix
|
b351f1b29d
|
Generalize rowFromMaybeRows.
|
2015-12-21 13:10:11 -05:00 |
|
Rob Rix
|
cbc1240946
|
Avoid needless $s.
|
2015-12-21 13:03:08 -05:00 |
|
Rob Rix
|
671904cf61
|
Remove redundant parentheses.
|
2015-12-21 13:01:46 -05:00 |
|
Rob Rix
|
c0a566be4a
|
Eta-reduce the definition of unchanged .
|
2015-12-21 13:01:38 -05:00 |
|
Rob Rix
|
3c85d4d0af
|
Use Data.Maybe’s isJust & isNothing to test for open elements.
|
2015-12-21 13:00:46 -05:00 |
|
Rob Rix
|
64362581c4
|
Rename adjoinBy → adjoinRowsBy.
|
2015-12-21 12:57:50 -05:00 |
|
Rob Rix
|
d4cfb276a4
|
Rename adjoin2By → adjoinBy.
|
2015-12-21 12:57:11 -05:00 |
|
Rob Rix
|
ed6d6fffa1
|
Rename adjoin2LinesBy → adjoinLinesBy.
|
2015-12-21 12:57:04 -05:00 |
|
Rob Rix
|
66376d202a
|
Tighten up the definition of childLines a little.
|
2015-12-21 12:50:58 -05:00 |
|
Rob Rix
|
cbf334481a
|
Rename lineElements to contextLines.
|
2015-12-21 12:48:54 -05:00 |
|
Rob Rix
|
3a159f1ae9
|
rewrapLineContentsIn does not classify terms.
|
2015-12-21 12:39:36 -05:00 |
|
Rob Rix
|
706e3c499a
|
Generalize numberRows.
|
2015-12-21 12:35:34 -05:00 |
|
Rob Rix
|
a4d30ec3ff
|
Add an openTerm function.
|
2015-12-21 12:34:21 -05:00 |
|
Rob Rix
|
7f1079e0ca
|
Document Range.
|
2015-12-21 12:23:21 -05:00 |
|