regions
Provides the region monad for safely opening and working with scarce resources.
This package provides the region monad transformer. Scarce resources like
files, memory pointers or USB devices for example can be opened in a
region. When the region terminates, all opened resources will be automatically
closed. The main advantage of regions is that the opened resources can not be
returned from the region which ensures no I/O with closed resources is
possible.
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>
Also see the @regions-mtl@ and @regions-monadstf@ packages which provide
instances for the classes in the respected monad transformers packages.
For an example on how to use this library see the @safer-file-handles@,
@usb-safe@ or @regional-pointers@ packages.
| version | uploaded | uploader | changes | |
|---|---|---|---|---|
| 0.11 | 2011-09-23 10:09 UTC | BasVanDijk | +42/−22 lines, 4 filesPVP ok | |
| 0.10 | 2011-09-22 21:54 UTC | BasVanDijk | +254/−23 lines, 9 filesdep ~basePVP ok | |
| 0.9 | 2011-03-09 12:20 UTC | BasVanDijk | +123/−275 lines, 7 filesdep +monad-controldep −monad-peelPVP ok | |
| 0.8.1 | 2011-01-17 22:04 UTC | BasVanDijk | +73/−36 lines, 4 filesPVP: major bump suggested | |
| 0.8 | 2010-11-06 15:56 UTC | BasVanDijk | +236/−214 lines, 7 filesdep +monad-peeldep −MonadCatchIO-transformersdep ~basePVP ok | |
| 0.7.0.1 | 2010-09-11 14:17 UTC | BasVanDijk | +3/−3 lines, 2 filesPVP ok | |
| 0.7 | 2010-09-01 20:11 UTC | BasVanDijk | +52/−13 lines, 3 filesPVP ok | |
| 0.6.0.1 | 2010-06-16 13:45 UTC | BasVanDijk | +1/−5 lines, 1 filesPVP ok | |
| 0.6 | 2010-06-16 09:11 UTC | BasVanDijk | +173/−322 lines, 9 filesPVP ok | |
| 0.5 | 2010-05-02 20:24 UTC | BasVanDijk | +75/−137 lines, 4 filesdep ~MonadCatchIO-transformersdep ~base-unicode-symbolsdep ~transformersPVP ok | |
| 0.4 | 2010-02-04 10:17 UTC | BasVanDijk | +212/−94 lines, 6 filesdep ~MonadCatchIO-transformersPVP ok | |
| 0.3 | 2010-01-23 14:25 UTC | BasVanDijk | +129/−123 lines, 4 filesPVP ok | |
| 0.2 | 2010-01-07 14:14 UTC | BasVanDijk | +128/−94 lines, 4 filesPVP ok | |
| 0.1.0.1 | 2009-12-23 13:42 UTC | BasVanDijk | +137/−37 lines, 2 filesdep +base-unicode-symbolsdep −unicode-symbolsdep ~basePVP: major bump suggested | |
| 0.1 | 2009-12-21 09:46 UTC | BasVanDijk | +592/−0 lines, 5 filesdep +MonadCatchIO-transformersdep +basedep +transformerssetup-changed |
Dependencies of regions-0.11
base >=4 && <4.5 4.4.1.0 → 4.22.1.0 newer than bounds
| 2026-12-01 12:38 UTC | 4.22.1.0 newer than bounds | +388/−6 lines, 9 filesdep ~ghc-internalPVP: major bump suggested |
| 2025-12-19 11:52 UTC | 4.22.0.0 newer than bounds | +886/−215 lines, 28 filesdep ~ghc-internalPVP ok |
| 2026-03-27 12:26 UTC | 4.21.2.0 newer than bounds | +10/−3 lines, 4 filesdep ~ghc-internalPVP ok |
| 2025-12-27 10:31 UTC | 4.21.1.0 newer than bounds | +17/−5 lines, 4 filesdep ~ghc-internalPVP ok |
| 2024-12-16 09:24 UTC | 4.21.0.0 newer than bounds | +1170/−396 lines, 39 filesdep ~ghc-internalPVP ok |
showing 5 of 61 versions
base-unicode-symbols >=0.1.1 && <0.3 0.2.4.1 → 0.2.4.2
| 2019-07-10 11:35 UTC | 0.2.4.2 | +2/−1 lines, 2 filesPVP: minor bump suggested |
| 2019-07-10 11:23 UTC | 0.2.4.1 | +2/−2 lines, 2 filesPVP ok |
| 2019-07-10 11:11 UTC | 0.2.4 | +28/−17 lines, 4 filesPVP ok |
| 2018-11-20 11:22 UTC | 0.2.3 | +903/−860 lines, 29 filesdep ~basePVP: major bump suggested |
| 2012-07-06 11:18 UTC | 0.2.2.4 | +11/−11 lines, 3 filesdep ~basePVP: major bump suggested |
showing 5 of 22 versions
monad-control >=0.2 && <0.3 0.2.0.3 → 1.0.3.1 newer than bounds
| 2021-08-02 10:16 UTC | 1.0.3.1 newer than bounds | +25/−13 lines, 3 filesdep ~transformersPVP ok |
| 2021-07-26 20:03 UTC | 1.0.3 newer than bounds | +6/−2 lines, 2 filesdep ~base |
| 2021-07-26 19:56 UTC | 1.0.2.4 newer than bounds | +912/−894 lines, 5 filesdep ~basedep ~transformers-compatsetup-changednew-uploader |
| 2018-02-26 08:14 UTC | 1.0.2.3 newer than bounds | +10/−3 lines, 3 filesdep ~transformers-compatPVP: major bump suggested |
| 2017-08-06 15:12 UTC | 1.0.2.2 newer than bounds | +201/−29 lines, 4 filesPVP ok |
showing 5 of 32 versions
transformers >=0.2 && <0.3 0.2.2.1 → 0.6.3.0 newer than bounds
| 2026-01-12 12:42 UTC | 0.6.3.0 newer than bounds | +28/−1 lines, 4 filesPVP: major bump suggested |
| 2025-04-06 22:39 UTC | 0.6.2.0 newer than bounds | +41/−42 lines, 8 filesdep ~ghc-primPVP: major bump suggested |
| 2024-09-25 11:37 UTC | 0.6.1.2 newer than bounds | +70/−21 lines, 19 filesPVP: minor bump suggested |
| 2023-08-01 19:13 UTC | 0.6.1.1 newer than bounds | +281/−42 lines, 11 filesPVP ok |
| 2023-02-04 08:15 UTC | 0.6.1.0 newer than bounds | +64/−4 lines, 8 filesPVP ok |
showing 5 of 42 versions
Reverse dependencies
9 packages depend on regions; 2 have bounds that exclude 0.11