packages feed

twentefp-eventloop-trees 0.0.0.1 → 0.1.0.0

raw patch · 2 files changed

+3/−14 lines, 2 filesdep ~eventloopPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: eventloop

API changes (from Hackage documentation)

- FPPrac.Trees: data ParseTree :: *
- FPPrac.Trees: parseExampleTree :: ParseTree
- FPPrac.Trees: showParseTree :: ParseTree -> IO ()
- FPPrac.Trees: showParseTreeList :: [ParseTree] -> IO ()

Files

src/FPPrac/Trees.hs view
@@ -1,15 +1,11 @@ module FPPrac.Trees 
     ( RoseTree
-    , ParseTree
     , RBTree
     , NodeColor
-    , parseExampleTree
     , rbExampleTree
     , roseExampleTree
     , showRBTree
     , showRBTreeList
-    , showParseTree
-    , showParseTreeList
     , showRoseTree
     , showRoseTreeList
     ) where
@@ -50,13 +46,6 @@  
 showRBTreeList :: [RBTree] -> IO ()
 showRBTreeList trees = startMainloop (eventloopConfig (map TRBTree trees))
-
-
-showParseTree :: ParseTree -> IO()
-showParseTree tree = showParseTreeList [tree] 
- 
-showParseTreeList :: [ParseTree] -> IO ()
-showParseTreeList trees = startMainloop (eventloopConfig (map TParseTree trees))
 
 
 showRoseTree :: RoseTree -> IO()
twentefp-eventloop-trees.cabal view
@@ -1,6 +1,6 @@ name:                twentefp-eventloop-trees
-version:             0.0.0.1
-synopsis:            Tree type and show functions for lab assignment of University of Twente. Contains RoseTree and ParseTree      
+version:             0.1.0.0
+synopsis:            Tree type and show functions for lab assignment of University of Twente. Contains RoseTree and RedBlackTree
 license:             BSD3
 license-file:        LICENSE
 author:              Sebastiaan la Fleur
@@ -14,7 +14,7 @@    
   build-depends:       
         base >=4.6 && <5,
-        eventloop >= 0.2.1.1 && < 0.3.0.0
+        eventloop >= 0.3.0.0 && < 0.4.0.0
         
   hs-source-dirs:      src
   default-language:    Haskell2010