[email protected]
[Top] [All Lists]

[Haskell-cafe] Re: ANNOUNCE: explicit-iomodes-0.1

Subject: [Haskell-cafe] Re: ANNOUNCE: explicit-iomodes-0.1
From: Bas van Dijk
Date: Tue, 15 Dec 2009 11:07:00 +0100
On Tue, Dec 15, 2009 at 12:13 AM, Bas van Dijk <[email protected]> wrote:
> Hello,
> I just released the small package explicit-iomodes-0.1:
> http://hackage.haskell.org/package/explicit-iomodes-0.1
> It's a wrapper around System.IO that provides a Handle type which is
> parametrized with the IOMode it is in. All operations on handles
> specify the needed IOMode which makes it a type error if you read from
> a write-only handle or if you write to a read-only handle for example.
> Thanks to Lee Houghton, Brandon S. Allbery and Jason Dagit for
> providing initial feedback!
> regards,
> Bas

I just uploaded a minor 0.1.1 release of explicit-iomodes which adds
the following function:

regularHandle :: Handle ioMode -> System.IO.Handle

to retrieve the regular System.IO.Handle so you can use this library
with other libraries that use regular handles.


Haskell-Cafe mailing list
[email protected]

<Prev in Thread] Current Thread [Next in Thread>