devel/hs-say - The NetBSD Packages Collection

Send textual messages to a Handle in a thread-friendly way

Send textual messages to a Handle in a thread-friendly way.

The motivation for this package is described in a blog post on Haskell's
Missing Concurrency Basics
(http://www.snoyman.com/blog/2016/11/haskells-missing-concurrency-basics). The
simple explanation is, when writing a line of textual data to a Handle -
such as sending some messages t o ther terminal - we'd like to have the
following properties:

* Properly handle character encoding settings on the Handle
* For reasonably sized messages, ensure that the entire message is written
  in one chunk to avoid interleaving data with other threads
  * This includes the trailing newline character
* Avoid unnecessary memory allocations and copies
* Minimize locking
* Provide a simple API

Build dependencies

pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

lang/ghc94

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64hs-say-0.1.0.1nb1.tgz
NetBSD 10.0x86_64hs-say-0.1.0.1nb1.tgz
NetBSD 10.0x86_64hs-say-0.1.0.1nb1.tgz
NetBSD 8.0x86_64hs-say-0.1.0.1nb1.tgz
NetBSD 8.0x86_64hs-say-0.1.0.1nb1.tgz
NetBSD 9.0aarch64hs-say-0.1.0.1nb1.tgz
NetBSD 9.0aarch64hs-say-0.1.0.1nb1.tgz
NetBSD 9.0aarch64hs-say-0.1.0.1nb1.tgz
NetBSD 9.0x86_64hs-say-0.1.0.1nb1.tgz
NetBSD 9.0x86_64hs-say-0.1.0.1nb1.tgz
NetBSD 9.0x86_64hs-say-0.1.0.1nb1.tgz
NetBSD 9.0x86_64hs-say-0.1.0.1nb1.tgz
NetBSD 9.0x86_64hs-say-0.1.0.1nb1.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.