GNU bug report logs - #53690
Add ghc-machines

Previous Next

Package: guix-patches;

Reported by: WinterHound <winterhound <at> yandex.com>

Date: Tue, 1 Feb 2022 09:34:06 UTC

Severity: normal

To reply to this bug, email your comments to 53690 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#53690; Package guix-patches. (Tue, 01 Feb 2022 09:34:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to WinterHound <winterhound <at> yandex.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 01 Feb 2022 09:34:06 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: WinterHound <winterhound <at> yandex.com>
To: guix-patches <at> gnu.org
Cc: WinterHound <winterhound <at> yandex.com>
Subject: Add ghc-machines
Date: Tue,  1 Feb 2022 15:02:09 +0530
---
 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





This bug report was last modified 2 years and 57 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.