Skip to content

Commit 04287f5

Browse files
committed
maybe faster?
1 parent 549d1dd commit 04287f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src-extra/transformation/JbeamEdit/Transformation.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ vertexForestToNodeVector initialMeta vf =
317317
oMap
318318

319319
(_, listsOfNodes) = mapAccumL stepType initialMeta treesOrder
320-
in V.fromList (concat listsOfNodes)
320+
in foldMap V.fromList listsOfNodes
321321

322322
treesOrder :: [VertexTreeType]
323323
treesOrder = [LeftTree, MiddleTree, RightTree, SupportTree]

0 commit comments

Comments
 (0)