summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrianLewis <>2013-07-06 02:29:12 (GMT)
committerhdiff <hdiff@hdiff.luite.com>2013-07-06 02:29:12 (GMT)
commitcf981661c5ff675f29330aec41ea22556f4c8ba7 (patch)
tree9a45967f13c74ba6de1c42a1323358925d0e6fac
parent564c949ef6892f7e3aa0ab86b33e2ce76ca5e1ca (diff)
version 0.1.7HEAD0.1.7master
-rw-r--r--README.md9
-rw-r--r--src/Control/Concurrent/ThreadManager.hs13
-rw-r--r--threadmanager.cabal19
3 files changed, 26 insertions, 15 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..66b8c87
--- /dev/null
+++ b/README.md
@@ -0,0 +1,9 @@
+*This package is useful, but deprecated. In new code, please use [threads][1]
+instead.*
+
+A simple thread management API inspired by the one in [chapter 24][2] of
+[Real World Haskell][3].
+
+[1]: http://hackage.haskell.org/package/threads
+[2]: http://book.realworldhaskell.org/read/concurrent-and-multicore-programming.html
+[3]: http://book.realworldhaskell.org/
diff --git a/src/Control/Concurrent/ThreadManager.hs b/src/Control/Concurrent/ThreadManager.hs
index f7af0e0..3443b90 100644
--- a/src/Control/Concurrent/ThreadManager.hs
+++ b/src/Control/Concurrent/ThreadManager.hs
@@ -1,11 +1,8 @@
-{-|
- A simple thread management API inspired by the one in chapter
- 24 of /Real World Haskell/.
-
- See <http://book.realworldhaskell.org/read/concurrent-and-multicore-programming.html>.
-
- Intended to be imported qualified (suggestion: TM).
- -}
+-- | Intended to be imported qualified, as in
+--
+-- @
+-- import qualified Control.Concurrent.ThreadManager as TM
+-- @
module Control.Concurrent.ThreadManager
( ThreadManager
diff --git a/threadmanager.cabal b/threadmanager.cabal
index d190628..ac00819 100644
--- a/threadmanager.cabal
+++ b/threadmanager.cabal
@@ -1,5 +1,5 @@
name: threadmanager
-version: 0.1.6
+version: 0.1.7
category: Concurrency
author: _Real World Haskell_, http://www.realworldhaskell.org/
@@ -10,17 +10,22 @@ license-file: LICENSE
synopsis: (deprecated in favor of 'threads') Simple thread management
description:
- This package is useful, but deprecated. In new code, please use /threads/
- instead. See <http://hackage.haskell.org/package/threads>.
+ This package is useful, but deprecated. In new code, please use
+ <http://hackage.haskell.org/package/threads threads> instead.
.
- A simple thread management API inspired by the one in chapter 24 of
- /Real World Haskell/. See <http://book.realworldhaskell.org/read/concurrent-and-multicore-programming.html>.
+ A simple thread management API inspired by the one in
+ <http://book.realworldhaskell.org/read/concurrent-and-multicore-programming.html chapter 24 of Real World Haskell>.
cabal-version: >= 1.10
build-type: Simple
--------------------------------------------------------------------------------
+extra-source-files:
+ README.md
+
+--------------------------------------------------------------------------------
+
library
default-language: Haskell2010
@@ -35,8 +40,8 @@ library
src
build-depends:
- base == 4.*,
- containers == 0.*
+ base > 3 && < 5,
+ containers == 0.5.*
--------------------------------------------------------------------------------