Mercurial > hg > Members > toma > Jungle-haskell
diff test/test.hs @ 13:74a4c7cdc50b
fix test.hs
author | Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 22 Jan 2014 14:22:43 +0900 |
parents | 29d0f605efa9 |
children | 824543aea6fc |
line wrap: on
line diff
--- a/test/test.hs Tue Jan 21 16:36:33 2014 +0900 +++ b/test/test.hs Wed Jan 22 14:22:43 2014 +0900 @@ -4,11 +4,9 @@ import Data.Maybe import qualified Data.ByteString.Lazy.Char8 as B -jungle = createJungle - tree = do - a <- createTree jungle "test" - node <- getRootNode a "test" + jungle <- createTree createJungle "test" + node <- getRootNode jungle "test" return (add node) addc path pos node = addNewChildAt node path pos