IO -base

module Data.Array.IO
array Data.Array.IO
Mutable boxed and unboxed arrays in the IO monad.
module Data.Text.IO
text Data.Text.IO
Efficient locale-sensitive support for text I/O. Skip past the synopsis for some important notes on performance and portability across different versions of GHC.
module Data.Text.Lazy.IO
text Data.Text.Lazy.IO
Efficient locale-sensitive support for lazy text I/O. Skip past the synopsis for some important notes on performance and portability across different versions of GHC.
module System.Posix.IO
unix System.Posix.IO
POSIX IO support. These types and functions correspond to the unix functions open(2), close(2), etc. For more portable functions which are more like fopen(3) and friends from stdio.h, see System.IO.
module Data.Graph.Inductive.Monad.IOArray
fgl Data.Graph.Inductive.Monad.IOArray
Static IOArray-based Graphs
data IOArray i e :: * -> * -> *
array Data.Array.IO, array Data.Array.IO.Safe
An IOArray is a mutable, boxed, non-strict array in the IO monad. The type arguments are as follows: * i: the index type of the array (should be an instance of Ix) * e: the element type of the array.
package IOR
IOR monad is a wrapper around IO that allows region based resource management. Version 0.1
package IORefCAS
After GHC 7.2 a new `casMutVar#` primop became available, but was not yet exposed in Data.IORef.  This package fills that gap until such a time as Data.IORef obsoletes it. Further, in addition to exposing native Haskell CAS operations, this package contains "mockups" that imititate the same functionality using either atomicModifyIORef and unsafe pointer equality (in Data.CAS.Fake) or using foreign functions (Data.CAS.Foreign). These alternatives are useful for debugging. Note that the foreign option does not operate on IORefs and so is directly interchangeable with `Data.CAS` and `Data.CAS.Fake` only if the interface in `Data.CAS.Class` is used. Version
IORose :: (IO (Rose a)) -> Rose a
QuickCheck Test.QuickCheck.Property
package IOSpec
This package 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. Version 0.2.5
data IOUArray i e
array Data.Array.IO, array Data.Array.IO.Safe
Mutable, unboxed, strict arrays in the IO monad. The type arguments are as follows: * i: the index type of the array (should be an instance of Ix) * e: the element type of the array. Only certain element types are supported: see Data.Array.MArray for a list of instances.
package io-capture
capture IO action's stdout and stderr Version 0.3
package io-choice
Choice for IO and lifted IO Version 0.0.5
package io-manager
A skeleton library to help learners of Haskell concentrate on the pure-functional aspect and let the IO be handled by the library. Version
package io-memoize
Transform an IO action into a similar IO action that performs the original action only once. You can choose to perform the original action in one of three ways: * lazily (might never be performed) * eagerly * concurrently (eager) Special thanks to shachaf and headprogrammingczar from #haskell irc for helping me reason about the behavior of this library. Version
package io-reactive
An API for generating reactive objects, as used in the TIMBER programming language. Version 0.1.1
package io-storage
This library allows an application to extend the 'global state' hidden inside the IO monad with semi-arbitrary data. Data is required to be Typeable. The library provides an essentially unbounded number of key-value stores indexed by strings, with each key within the stores also being a string. Version 0.3
package io-streams
Overview The io-streams library contains simple and easy-to-use primitives for I/O using streams. Most users will want to import the top-level convenience module System.IO.Streams, which re-exports most of the library: > import           System.IO.Streams (InputStream, OutputStream) > import qualified System.IO.Streams as Streams For first-time users, io-streams comes with an included tutorial, which can be found in the System.IO.Streams.Tutorial module. Features The io-streams user API has two basic types: InputStream a and OutputStream a, and three fundamental I/O primitives: @ -- read an item from an input stream :: System.IO.Streams.InputStream a -> IO (Maybe a) -- push an item back to an input stream Streams.System.IO.Streams.unRead :: a -> System.IO.Streams.InputStream a -> IO () -- write to an output stream Streams.System.IO.Streams.write :: Maybe a -> System.IO.Streams.OutputStream a -> IO () @ Streams can be transformed by composition and hooked together with provided combinators: > ghci> Streams.fromList [1,2,3::Int] >>= > (*10) >>= Streams.toList > [10,20,30] Stream composition leaves the original stream accessible: > ghci> input <- Streams.fromByteString &quot;long string&quot; > ghci> wrapped <- Streams.takeBytes 4 input > ghci> wrapped > Just &quot;long&quot; > ghci> wrapped > Nothing > ghci> input > Just &quot; string&quot; Simple types and operations in the IO monad mean straightforward and simple exception handling and resource cleanup using Haskell standard library facilities like Control.Exception.bracket. io-streams comes with: * functions to use files, handles, concurrent channels, sockets, lists, vectors, and more as streams. * a variety of combinators for wrapping and transforming streams, including compression and decompression using zlib, controlling precisely how many bytes are read from or written to a stream, buffering output using bytestring builders, folds, maps, filters, zips, etc. * support for parsing from streams using attoparsec. * support for spawning processes and communicating with them using streams. ChangeLog Allowed newest versions of the process, test-framework, and text libraries. Fixed build error when compiled against attoparsec-0.10.0.x. Added System.IO.Streams.Concurrent.makeChanPipe, to create a simple concurrent pipe between an InputStream/OutputStream pair. Added System.IO.Streams.Network.socketToStreamsWithBufferSize, allowing control over the size of the receive buffers used when reading from sockets. Fixed an inconsistent version upper bound in the test suite. Fixed a typo in the tutorial. A couple of Haddock markup fixes. Reworked, simplified, and streamlined the internals of the library. Exports from System.IO.Streams.Internal relying on Sources and Sinks were deleted because they are no longer necessary: Source(..), Sink(..), defaultPushback, withDefaultPushback, nullSource, nullSink, singletonSource, simpleSource, sourceToStream, sinkToStream, generatorToSource, and consumerToSink. Fixed a bug in which &quot;takeBytes 0&quot; was erroneously requesting input from the wrapped stream. Fixed a compile error on GHC 7.0.x. Added System.IO.Streams.Process (support for communicating with system processes using streams), added new functions to System.IO.Streams.Handle for converting io-streams types to System.IO.Handles. (Now you can pass streams from this library to places that expect Handles and everything will work.) Added System.IO.Streams.Combinators.ignoreEof. Fixed some haddock markup. Version
ioAction :: IO a -> BrowserAction t a
HTTP Network.Browser
Deprecated: Use Control.Monad.Trans.liftIO instead.
package ioctl
Package allowing type-safe I/O control Version 0.0.1

Show more results