contstuff 0.2.0 → 0.2.1
raw patch · 2 files changed
+8/−32 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- Test.hs +0/−24
- contstuff.cabal +8/−8
− Test.hs
@@ -1,24 +0,0 @@--- |--- Module: Main--- Copyright: (c) 2010 Ertugrul Soeylemez--- License: BSD3--- Maintainer: Ertugrul Soeylemez <es@ertes.de>--- Stability: experimental------ This is a test program to test the various monads found in the--- contstuff library.--module Main where--import Control.ContStuff-import Text.Printf---main :: IO ()-main =- evalContT $ do- (x, begin) <- labelCC 0- when (mod x 100000 == 0) . io $ do- putStr (show x)- putChar '\r'- goto begin (x+1)
contstuff.cabal view
@@ -1,5 +1,5 @@ Name: contstuff-Version: 0.2.0+Version: 0.2.1 Category: Control, Monads Synopsis: Easy to use CPS-based monads Maintainer: Ertugrul Söylemez <es@ertes.de>@@ -24,10 +24,10 @@ Exposed-modules: Control.ContStuff -Executable test- Build-depends:- base >= 4 && <= 5- Main-is: Test.hs- GHC-Options: -W- Other-modules:- Control.ContStuff+--Executable test+-- Build-depends:+-- base >= 4 && <= 5+-- Main-is: Test.hs+-- GHC-Options: -W+-- Other-modules:+-- Control.ContStuff