@@ -3214,6 +3214,40 @@ providing an @code{rnf} implementation.")
related modules split from the statistics library.")
(license license:bsd-2)))
+(define-public ghc-deque
+ (package
+ (name "ghc-deque")
+ (version "0.4.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/deque/deque-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "19apwmcykprz3a91wszmc1w3qcz4x3rq79gmik514fszi9yhwsmp"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-hashable" ,ghc-hashable)
+ ("ghc-strict-list" ,ghc-strict-list)))
+ (native-inputs
+ `(("ghc-quickcheck" ,ghc-quickcheck)
+ ("ghc-quickcheck-instances"
+ ,ghc-quickcheck-instances)
+ ("ghc-rerebase" ,ghc-rerebase)
+ ("ghc-tasty" ,ghc-tasty)
+ ("ghc-tasty-hunit" ,ghc-tasty-hunit)
+ ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
+ (home-page
+ "https://github.com/nikita-volkov/deque")
+ (synopsis "Double-ended queues")
+ (description
+ "This package provides strict and lazy implementations of Double-Ended
+Queue (aka Dequeue or Deque) based on head-tail linked list.")
+ (license license:expat)))
+
(define-public ghc-descriptive
(package
(name "ghc-descriptive")