From 4f13339838dc012f91f1ce117f6637dbca69d53f Mon Sep 17 00:00:00 2001 From: Rob Rix Date: Thu, 19 May 2016 00:23:04 -0400 Subject: [PATCH] :fire: some redundant bits of the comments. --- src/Alignment.hs | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/Alignment.hs b/src/Alignment.hs index 591693c38..5cc91ec85 100644 --- a/src/Alignment.hs +++ b/src/Alignment.hs @@ -92,14 +92,6 @@ We align asymmetrically since the first child is asymmetrical, and then continue , b | b ] | ] - - -[ [ Join This (Range 4 5, [ pure (Delete (Info (Range 4 5) mempty 0 :< Leaf "a")) ]) ] -, [ Join These (Range 4 5, [ liftF (Info (Range 4 5) mempty 0 :< Leaf "b") ]) - (Range 4 5, [ liftF (Info (Range 4 5) mempty 0 :< Leaf "b") ]) ] -] - - The first child is asymmetrical but there is also a symmetrical child on the same line, so we align symmetrically, producing: [ a, b ] | [ b ] @@ -107,7 +99,6 @@ and not: [ a, b ] | | [ b ] - We align the child symmetrically, and thus have to take the first line range on the right asymmetrically so as not to break the child’s alignment. | [ [ b ] | b @@ -137,10 +128,6 @@ Lines without children on them are aligned irrespective of their textual content b\n | \n ] | ] -[ [ Join That (Range 4 5, [ liftF (Info (Range 4 5) mempty 0 :< Leaf "b") ]) ] ] - - - We should avoid taking asymmetrical children greedily so as not to misalign asymmetrical children before symmetrical children on the same line: | [ a [ b, c ] | , c