pkgsrc-WIP-cvs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: wip/hs-safer-file-handles

Module name:    wip
Committed by:   phonohawk
Date:           Tue Nov  2 17:10:59 UTC 2010

Import into wip/hs-safer-file-handles

Log Message:
Import hs-safer-file-handles-0.8 as wip/hs-safer-file-handles.

This package adds three safety features on top of the regular
System.IO file handles and operations:

* Regional file handles. Files must be opened in a region. When the
  region terminates all opened files are automatically closed. The
  main advantage of regions is that the handles to the opened files
  can not be returned from the region which ensures no I/O with closed
  files is possible.

* Explicit IOModes. The regional file handles are parameterized by the
  IOMode in which they were opened. All operations on handles
  explicitly specify the needed IOMode. This way it is impossible to
  read from a write-only handle or write to a read-only handle for

* Type-safe filepath creation and manipulation using the pathtype

The primary technique used in this package is called "Lightweight
monadic regions" which was invented by Oleg Kiselyov and Chung-chieh
Shan. See:


Vendor Tag:     PHONOHAWK
Release Tags:   PHONOHAWK_20101103
N wip/hs-safer-file-handles/distinfo
N wip/hs-safer-file-handles/Makefile
N wip/hs-safer-file-handles/
N wip/hs-safer-file-handles/PLIST
N wip/hs-safer-file-handles/DESCR

No conflicts created by this import

Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
pkgsrc-wip-cvs mailing list

Home | Main Index | Thread Index | Old Index