Format
This commit is contained in:
parent
31082a85d5
commit
a3f91606f7
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user