ninetynine-1.3.0: Ninety-Nine Haskell Problems
CopyrightCopyright (C) 2021 Yoo Chung
LicenseGPL-3.0-or-later
Maintainerdev@chungyc.org
Safe HaskellSafe-Inferred
LanguageGHC2021

Solutions.P69

Description

Some solutions to Problems.P69 of Ninety-Nine Haskell Problems.

Synopsis

Documentation

dotstringToTree :: String -> Maybe (Tree Char) Source #

Convert a dotstring representation into its corresponding binary tree.

treeToDotstring :: Tree Char -> String Source #

Convert a binary tree to its dotstring representation.