IOSpec: A pure specification of the IO monad.

[ bsd3, library, testing ] [ Propose Tags ]
Versions 0.1, 0.1.1, 0.2, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.2.6, 0.3
Dependencies base, mtl, QuickCheck [details]
License BSD-3-Clause
Author Wouter Swierstra
Maintainer Wouter Swierstra <>
Category Test
Home page
Uploaded by WouterSwierstra at Tue Apr 24 09:26:21 UTC 2007
Distributions Debian:0.3, Fedora:0.3, NixOS:0.3
Downloads 6316 total (49 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI

At the moment this package consists of four modules:

There are several well-documented examples included with the source distribution.

[Skip to Readme]




Maintainer's Corner

For package maintainers and hackage trustees

Readme for IOSpec-0.1

[back to package description]
IOSpec version 0.1
  Author: Wouter Swierstra <>

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

for more instructions.


Please have a look at the latest documentation available from:

To build the Haddock API execute the following command:
    $ runhaskell Setup.lhs haddock

Check out the examples directory for the following examples:

    * Echo.hs - illustrates how to test the echo function.
    * Queues.hs - an implementation of queues using IORefs.
    * Channels.hs - an implementation of channels using MVars.

Every example contains quite some comments, explaining how to use
the library.