[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 15/43] gnu: Add ghc-transformers.
From: |
ng0 |
Subject: |
Re: [PATCH 15/43] gnu: Add ghc-transformers. |
Date: |
Mon, 05 Sep 2016 11:48:08 +0000 |
This is a complete new language for me.
Through updating ghc to 8.0.1 I learned this is part of ghc itself, is
this correct?
Installing library in
/tmp/guix-build-ghc-8.0.1.drv-0/ghc-8.0.1/ghc-bin/usr/lib/ghc-8.0.1/transformers-0.5.2.0
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/xhtml
dist-install "strip" '' '/tmp/guix-build-ghc-8.0.1.drv-0/ghc-8.0.1/ghc-bin/usr'
'/tmp/guix-build-ghc-8.0.1.drv-0/ghc-8.0.1/ghc-bin/usr/lib/ghc-8.0.1'
'/tmp/guix-build-ghc-8.0.1.drv-0/ghc-8.0.1/ghc-bin/usr/share/doc/ghc-8.0.1/html/libraries'
'v p dyn'
ng0 <address@hidden> writes:
> * gnu/packages/haskell.scm (ghc-transformers): New variable.
> ---
> gnu/packages/haskell.scm | 29 +++++++++++++++++++++++++++++
> 1 file changed, 29 insertions(+)
>
> diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
> index 8236ddb..7e65b52 100644
> --- a/gnu/packages/haskell.scm
> +++ b/gnu/packages/haskell.scm
> @@ -6766,4 +6766,33 @@ permissions are not preserved. It also provides
> features for random access
> to archive content using an index.")
> (license license:bsd-3)))
>
> +(define-public ghc-transformers
> + (package
> + (name "ghc-transformers")
> + (version "0.5.2.0")
> + (source
> + (origin
> + (method url-fetch)
> + (uri (string-append
> + "https://hackage.haskell.org/package/transformers/transformers-"
> + version ".tar.gz"))
> + (sha256
> + (base32
> + "1qkhi8ssf8c4jnmrw9dzym3igqbzq7h48iisaykdfzdsm09qfh3c"))))
> + (build-system haskell-build-system)
> + (home-page "http://hackage.haskell.org/package/transformers")
> + (synopsis "Concrete functor and monad transformers")
> + (description
> + "A portable library of functor and monad transformers, inspired by the
> paper
> +'Functional Programming with Overloading and Higher-Order Polymorphism',
> +by Mark P Jones. This package contains the monad transformer class and IO
> monad class,
> +concrete functor and monad transformers, each with associated operations and
> functions
> +to lift operations associated with other transformers. The package can be
> used on
> +its own in portable Haskell code, in which case operations need to be
> manually lifted
> +through transformer stacks. Alternatively, it can be used with the
> +non-portable monad classes in the @code{mtl} or @code{monads-tf} packages,
> +which automatically lift operations introduced by monad transformers through
> +other transformers.")
> + (license license:bsd-3)))
> +
> ;;; haskell.scm ends here
> --
> 2.9.3
>
--
ng0
For non-prism friendly talk find me on http://www.psyced.org
- [PATCH 02/43] gnu: Add ghc-binary., (continued)
- [PATCH 09/43] gnu: Add ghc-regex-tdfa., ng0, 2016/09/04
- [PATCH 10/43] gnu: Add ghc-regex-compat-tdfa., ng0, 2016/09/04
- [PATCH 05/43] gnu: Add ghc-data-ordlist., ng0, 2016/09/04
- [PATCH 08/43] gnu: Add ghc-regex-applicative., ng0, 2016/09/04
- [PATCH 15/43] gnu: Add ghc-transformers., ng0, 2016/09/04
- Re: [PATCH 15/43] gnu: Add ghc-transformers.,
ng0 <=
- [PATCH 17/43] gnu: Add ghc-patience., ng0, 2016/09/04
- [PATCH 18/43] gnu: Add ghc-monads-tf., ng0, 2016/09/04
- [PATCH 13/43] gnu: Add ghc-bytestring-handle., ng0, 2016/09/04
- [PATCH 14/43] gnu: Add ghc-tar., ng0, 2016/09/04
- [PATCH 12/43] gnu: Add ghc-sandi., ng0, 2016/09/04
- [PATCH 11/43] gnu: Add ghc-tasty-th., ng0, 2016/09/04
- [PATCH 20/43] gnu: Add ghc-colour., ng0, 2016/09/04
- [PATCH 21/43] gnu: Add ghc-directory., ng0, 2016/09/04
- [PATCH 16/43] gnu: Add ghc-findbin., ng0, 2016/09/04
- [PATCH 22/43] gnu: Add ghc-process., ng0, 2016/09/04