Subject: [PATCH 10/16] gnu: Add ghc-uglymemo.

From: Carlo Holl <[email-masked]>
Date: Fri, 23 Oct 2020 10:05:38 -0700

---
 gnu/packages/haskell-xyz.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 0cce72e9f5..269ba898b3 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -13875,6 +13875,35 @@ processes.  It wraps around the @code{process} library, and intends to improve
 upon it.")
     (license license:expat)))
 
+(define-public ghc-uglymemo
+  (package
+    (name "ghc-uglymemo")
+    (version "0.1.0.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append
+               "https://hackage.haskell.org/package/uglymemo/uglymemo-"
+               version
+               ".tar.gz"))
+        (sha256
+          (base32
+            "0ixqg5d0ly1r18jbgaa89i6kjzgi6c5hanw1b1y8c5fbq14yz2gy"))))
+    (build-system haskell-build-system)
+    (home-page
+      "https://hackage.haskell.org/package/uglymemo")
+    (synopsis
+      "Simple (but internally ugly) memoization function")
+    (description "Simple (but internally ugly) memoization function.
+
+@itemize @bullet
+@item
+New in 0.1.0.1: Make it exception safe.
+@end itemize
+
+")
+    (license license:public-domain)))
+
 (define-public ghc-unagi-chan
   (package
     (name "ghc-unagi-chan")
-- 
2.28.0