|File Search||Catalog||Content Search|
It consists of several modules, that give a pure specification of functions in the IO monad:
Test.IOSpec.Fork: a pure specification of forkIO.
Test.IOSpec.IORef: a pure specification of most functions that create and manipulate on IORefs.
Test.IOSpec.MVar: a pure specification of most functions that create and manipulate and MVars.
Test.IOSpec.STM: a pure specification of atomically and the STM monad.
Test.IOSpec.Teletype: a pure specification of getChar, putChar, and several related Prelude functions.
Besides these modules containing the specifications, there are a few other important modules:
Test.IOSpec.Types: defines the IOSpec type and several amenities.
Test.IOSpec.VirtualMachine: defines a virtual machine on which to execute pure specifications.
Test.IOSpec.Surrogate: a drop-in replacement for the other modules. Import this and recompile your code once you've finished testing and debugging.
There are several well-documented examples included with the source distribution.
IOSpec version 0.2 Author: Wouter Swierstra <email@example.com> IOSpec provides a library containing pure, executable specifications of a few functions from the IO monad. Build instructions: $ runhaskell Setup.lhs configure $ runhaskell Setup.lhs build $ runhaskell Setup.lhs install See http://www.haskell.org/ghc/docs/latest/html/Cabal/builders.html for more instructions. Docum more»
haskell-iospec (0.2.5-1+b2) sid; urgency=low * Binary-only non-maintainer upload for s390x; no source changes. * Rebuild against new transformers/mtl -- s390/s390x Build Daemon (zemlinsky) <firstname.lastname@example.org> Sun, 27 May 2012 02:35:25 +0000 haskell-iospec (0.2.5-1) unstable; urgency=low * New upstream release -- Iain Lane <email@example.com> Thu, 23 Feb 2012 19 more»
This package was debianized by Clint Adams <firstname.lastname@example.org> on Fri, 17 Jun 2011 23:12:58 -0000 It was downloaded from http://hackage.haskell.org/package/IOSpec Upstream Authors: Wouter Swierstra <email@example.com> Copyright: 2006 Wouter Swierstra License: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following co more»