Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Bas van Dijk <v.dijk.bas <at> gmail.com>
Subject: ANNOUNCE: explicit-iomodes-0.1
Newsgroups: gmane.comp.lang.haskell.cafe
Date: Monday 14th December 2009 23:13:23 UTC (over 6 years ago)
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
 
CD: 16ms