|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 <firstname.lastname@example.org> 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 armhf; no source changes. * Rebuild against new transformers/mtl -- armhf Build Daemon (hasse) <email@example.com> Fri, 25 May 2012 23:29:04 +0000 haskell-iospec (0.2.5-1) unstable; urgency=low * New upstream release -- Iain Lane <firstname.lastname@example.org> Thu, 23 Feb 2012 19:50:22 +0000 more»
This package was debianized by Clint Adams <email@example.com> on Fri, 17 Jun 2011 23:12:58 -0000 It was downloaded from http://hackage.haskell.org/package/IOSpec Upstream Authors: Wouter Swierstra <firstname.lastname@example.org> 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»