diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-haskell/async/metadata.xml | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-haskell/async/metadata.xml')
-rw-r--r-- | dev-haskell/async/metadata.xml | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/dev-haskell/async/metadata.xml b/dev-haskell/async/metadata.xml new file mode 100644 index 000000000000..85a5a5773f03 --- /dev/null +++ b/dev-haskell/async/metadata.xml @@ -0,0 +1,53 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>haskell@gentoo.org</email> + </maintainer> + <longdescription> + This package provides a higher-level interface over + threads, in which an @Async a@ is a concurrent + thread that will eventually deliver a value of + type @a@. The package provides ways to create + @Async@ computations, wait for their results, and + cancel them. + + Using @Async@ is safer than using threads in two + ways: + + * When waiting for a thread to return a result, + if the thread dies with an exception then the + caller must either re-throw the exception + ('wait') or handle it ('waitCatch'); the + exception cannot be ignored. + + * The API makes it possible to build a tree of + threads that are automatically killed when + their parent dies (see 'withAsync'). + + Changes in 2.0.1.3: + + * Bump @base@ dependency to allow 4.6 + + Changes in 2.0.1.2: + + * Bump @stm@ dependency to 2.4 + + Changes in 2.0.1.1: + + * Safe Haskell support: @Control.Concurrent.Async@ is now @Trustworthy@ + + Changes in 2.0.1.0: + + * Added a @Functor@ instance for @Async@ + + * Added @asyncBound@, @asyncOn@, @asyncWithUnmask@, @asyncOnWithUnmask@, @withAsyncBound@, @withAsyncOn@, @withAsyncWithUnmask@, @withAsyncOnWithUnmask@. + + * Added @mapConcurrently@ + + * Added @Concurrently@ (with @Applicative@ and @Alternative@ instances) + </longdescription> + <upstream> + <remote-id type="github">simonmar/async</remote-id> + </upstream> +</pkgmetadata> |