Path to this page:
NOTICE: This package has been removed from pkgsrc./
wip/hs-safer-file-handles,
Type-safe file handling
Branch: CURRENT,
Version: 0.10,
Package name: hs-safer-file-handles-0.10,
Maintainer: phoThis 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
example.
* Type-safe filepath creation and manipulation using the pathtype
package.
The primary technique used in this package is called "Lightweight
monadic regions" which was invented by Oleg Kiselyov and Chung-chieh
Shan. See:
http://okmij.org/ftp/Haskell/regions.html#light-weight
Required to run:[
wip/ghc] [
wip/hs-regions] [
wip/hs-pathtype] [
wip/hs-regional-pointers] [
wip/hs-explicit-iomodes] [
devel/hs-transformers] [
devel/hs-monad-control] [
devel/hs-base-unicode-symbols]
Required to build:[
pkgtools/cwrappers]
Master sites:
SHA1: 69f341937d51d286c96e9a784e545cfd83019fb2
RMD160: fdac3bb181d939ce4145a2acc0c231ba43269663
Filesize: 13.639 KB
Version history: (Expand)
- (2019-12-17) Package deleted from pkgsrc
- (2019-12-15) Package has been reborn
- (2019-12-14) Package deleted from pkgsrc
- (2019-06-25) Package has been reborn
- (2019-06-11) Package deleted from pkgsrc
- (2018-09-10) Package has been reborn
CVS history: (Expand)
2014-08-29 16:10:14 by Ryosuke Moro | Files touched by this commit (101) |
Log message:
make it clear what package depend on
discussed with wiz@.
|
2014-07-30 23:36:36 by Ryosuke Moro | Files touched by this commit (21) |
Log message:
Remove hs-monad-control, imported to pkgsrc/devel.
|
2014-05-15 23:49:04 by Ryosuke Moro | Files touched by this commit (110) |
Log message:
Remove hs-transformers, imported to pkgsrc/devel.
|
2011-05-11 01:38:03 by PHO / phonohawk | Files touched by this commit (3) | |
Log message:
Upstream update to safer-file-handles-0.10
|
2010-12-30 09:52:32 by PHO / phonohawk | Files touched by this commit (3) | |
Log message:
Upstream update to safer-file-handles-0.9
|
2010-11-02 18:10:59 by PHO / phonohawk | Files touched by this commit (5) | |
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
example.
* Type-safe filepath creation and manipulation using the pathtype
package.
The primary technique used in this package is called "Lightweight
monadic regions" which was invented by Oleg Kiselyov and Chung-chieh
Shan. See:
http://okmij.org/ftp/Haskell/regions.html#light-weight
|