From: WinterHound <winterhound@yandex.com>
To: 53690@debbugs.gnu.org
Cc: WinterHound <winterhound@yandex.com>
Subject: [bug#53690] Add ghc-machines
Date: Tue, 1 Feb 2022 15:02:09 +0530 [thread overview]
Message-ID: <20220201093211.6720-8-winterhound@yandex.com> (raw)
In-Reply-To: <20220201093211.6720-1-winterhound@yandex.com>
---
gnu/packages/haskell-xyz.scm | 42 ++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index c820d5e585..bf704abe85 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -16254,3 +16254,45 @@ (define-public ghc-concise
"@code{concise} provides a handful of functions to extend what you
can do with Control.Lens.Cons.")
(license license:bsd-3)))
+
+(define-public ghc-machines
+ (package
+ (name "ghc-machines")
+ (version "0.7.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (hackage-uri "machines" version))
+ (sha256
+ (base32 "0pgsa67j9l1zmazlqdb5wg3cqsikyfvkq8yih7iwcqzkys5qssvr"))))
+ (build-system haskell-build-system)
+ (inputs
+ (list ghc-adjunctions
+ ghc-comonad
+ ghc-distributive
+ ghc-pointed
+ ghc-profunctors
+ ghc-semigroupoids
+ ghc-semigroups
+ ghc-transformers-compat
+ ghc-void))
+ (home-page "http://github.com/ekmett/machines/")
+ (synopsis "Networked stream transducers")
+ (description "Ceci n'est pas une pipe\n
+Machines are demand driven input sources like pipes or conduits,
+but can support multiple inputs.\n
+You design a @code{Machine}by writing a @code{Plan}. You then
+@code{construct}the machine.\n
+Simple machines that take one input are called a @code{Process}
+and processes form a @code{Category}. More generally you can attach
+a Process to the output of any type of @code{Machine},
+yielding a new @code{Machine}.\n
+More complicated machines provide other ways of connecting to them.\n
+Typically the use of machines proceeds by using simple plans into machine
+@code{Tees}and @code{Wyes}, capping many of the inputs to those with
+possibly monadic sources, feeding the rest input (possibly repeatedly)
+and calling @code{run}or @code{runT} to get the answers out.\n
+There is a lot of flexibility when building a machine in choosing between
+empowering the machine to run its own monadic effects or delegating that
+responsibility to a custom driver.")
+ (license license:bsd-3)))
--
2.34.0
next prev parent reply other threads:[~2022-02-01 9:45 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-01 9:32 [bug#53684] Add ghc-tdigest WinterHound
2022-02-01 9:32 ` [bug#53683] Add ghc-pipes-parse WinterHound
2022-02-01 9:32 ` [bug#53685] Add ghc-pipes-group WinterHound
2022-02-01 9:32 ` [bug#53686] Add ghc-pipes-bytestring WinterHound
2022-02-01 9:32 ` [bug#53687] Add ghc-pipes-safe WinterHound
2022-02-01 9:32 ` [bug#53688] Add ghc-monad-time WinterHound
2022-02-01 9:32 ` [bug#53689] Add ghc-concise WinterHound
2022-02-01 9:32 ` WinterHound [this message]
2022-02-01 9:32 ` [bug#53691] Add ghc-lens-aeson WinterHound
2022-02-01 9:32 ` [bug#53692] Add ghc-indexed-profunctors WinterHound
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220201093211.6720-8-winterhound@yandex.com \
--to=winterhound@yandex.com \
--cc=53690@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.