File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ addPrefixComments SupportTree trees = trees
7171addPrefixComments _ trees = bool trees (fmap addToAnnotatedVertex trees) (length trees > 1 )
7272 where
7373 addToAnnotatedVertex (VertexTree [] namedVertexGroups) =
74- let commentName = dropIndex . vName . aVertex . NE. head $ namedVertexGroups
74+ let commentName = dropIndex . anVertexName . NE. head $ namedVertexGroups
7575 newComment = InternalComment (" prefix group " <> commentName) False NextNode
7676 in VertexTree [newComment] namedVertexGroups
7777 addToAnnotatedVertex (VertexTree comments namedVertexGroups) = VertexTree comments namedVertexGroups
@@ -107,7 +107,7 @@ groupByPrefix origTree =
107107 OMap1. fromNEList
108108 . sortByKeyOrderNE origTree
109109 . NE. map (prefixForVertexKey origTree)
110- . NE. groupWith1 (dropIndex . vName . aVertex )
110+ . NE. groupWith1 (dropIndex . anVertexName )
111111
112112commentsExists :: Maybe (OMap1 VertexTreeKey VertexTree ) -> Bool
113113commentsExists = any (notNull . tComments . OMap1. head )
@@ -328,7 +328,7 @@ compareAV thr treeType vertex1 vertex2 =
328328 let supportNameCompare =
329329 bool
330330 EQ
331- (on compare (dropIndex . vName . aVertex ) vertex1 vertex2)
331+ (on compare (dropIndex . anVertexName ) vertex1 vertex2)
332332 (treeType == SupportTree )
333333 y1 = vY . aVertex $ vertex1
334334 y2 = vY . aVertex $ vertex2
You can’t perform that action at this time.
0 commit comments