Created
January 2, 2015 12:41
-
-
Save semanticer/1ad914fa5e7e10afedd5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- print given tree | |
main = putStrLn (treeToSring (tree 4 2 3)) | |
-- concatenate string from tree list structure | |
treeToSring treeList = intercalate "" [ unlines block | block <- treeList] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment