Now
MAIN commitmail json YAML
pkgsrc/devel/hs-say/DESCR@1.1
/
diff
pkgsrc/devel/hs-say/Makefile@1.1 / diff
pkgsrc/devel/hs-say/PLIST@1.1 / diff
pkgsrc/devel/hs-say/buildlink3.mk@1.1 / diff
pkgsrc/devel/hs-say/distinfo@1.1 / diff
pkgsrc/devel/hs-say/Makefile@1.1 / diff
pkgsrc/devel/hs-say/PLIST@1.1 / diff
pkgsrc/devel/hs-say/buildlink3.mk@1.1 / diff
pkgsrc/devel/hs-say/distinfo@1.1 / diff
devel/hs-say: import hs-say-0.1.0.1
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
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