guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

47/53: gnu: Add ghc-operational.


From: Ricardo Wurmus
Subject: 47/53: gnu: Add ghc-operational.
Date: Thu, 16 Aug 2018 11:05:04 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 2e72967b2a87ac83ca9da0fc7cccf7a9184d520e
Author: Ricardo Wurmus <address@hidden>
Date:   Wed Aug 15 12:15:42 2018 +0200

    gnu: Add ghc-operational.
    
    * gnu/packages/haskell.scm (ghc-operational): New variable.
---
 gnu/packages/haskell.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index d986ab5..2d6d4cf 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -9938,4 +9938,30 @@ search for all keys containing a point or overlapping an 
interval.  See the
 example code on the home page for a quick introduction.")
     (license license:bsd-3)))
 
+(define-public ghc-operational
+  (package
+    (name "ghc-operational")
+    (version "0.2.3.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://hackage.haskell.org/package/operational/";
+                           "operational-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1x2abg2q9d26h1vzj40r6k7k3gqgappbs4g9d853vvg77837km4i"))))
+    (build-system haskell-build-system)
+    (inputs
+     `(("ghc-mtl" ,ghc-mtl)
+       ("ghc-random" ,ghc-random)))
+    (home-page "http://wiki.haskell.org/Operational";)
+    (synopsis "Implementation of difficult monads made easy with operational 
semantics")
+    (description
+     "This library makes it easy to implement monads with tricky control
+flow. This is useful for: writing web applications in a sequential style,
+programming games with a uniform interface for human and AI players and easy
+replay capababilities, implementing fast parser monads, designing monadic
+DSLs, etc.")
+    (license license:bsd-3)))
+
 ;;; haskell.scm ends here



reply via email to

[Prev in Thread] Current Thread [Next in Thread]