This commit is contained in:
George Thomas 2026-01-08 00:53:20 +00:00
parent 31082a85d5
commit a3f91606f7

View File

@ -184,8 +184,9 @@ adjacentPairs = \case
sortPair :: (Ord a) => (a, a) -> (a, a)
sortPair (a, b) = if a <= b then (a, b) else (b, a)
-- | This is `Data.Tree.drawTree` with the ASCII characters replaced with Unicode box drawing characters,
-- and using `Text` instead of `String`.
{- | This is `Data.Tree.drawTree` with the ASCII characters replaced with Unicode box drawing characters,
and using `Text` instead of `String`.
-}
drawTree :: Tree Text -> Text
drawTree = T.unlines . draw
where