diff options
author | Camil Staps | 2016-02-02 19:24:50 +0100 |
---|---|---|
committer | Camil Staps | 2016-02-02 19:24:50 +0100 |
commit | a7d7542dc646a5fd124ef71e71ce260889f1701b (patch) | |
tree | 04ed89503bbb3cc9933273a1326a53ca724c3492 /files/practicum/BinTreePrint.icl | |
parent | week6 camil: working positioning of lines by putting empties at left and righ... (diff) |
Diffstat (limited to 'files/practicum/BinTreePrint.icl')
-rw-r--r-- | files/practicum/BinTreePrint.icl | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/files/practicum/BinTreePrint.icl b/files/practicum/BinTreePrint.icl deleted file mode 100644 index e2358a6..0000000 --- a/files/practicum/BinTreePrint.icl +++ /dev/null @@ -1,23 +0,0 @@ -implementation module BinTreePrint
-
-import StdEnv
-import BinTree
-import TextCompose // als je tree2D implementeert
-
-Start = map (flip (+++) "\n" o toString) [t0,t1,t2,t3,t4,t5,t6,t7]
-
-instance toString (Tree a) | toString a where
- toString tree = indentTree tree
-// toString tree = tree2D tree
-
-/******************************************************************************************
- version with indented trees
-******************************************************************************************/
-indentTree :: !(Tree a) -> String | toString a
-indentTree tree = ...
-
-/******************************************************************************************
- version with TextCompose
-******************************************************************************************/
-tree2D :: !(Tree a) -> String | toString a
-tree2D tree = ...
|