From: Sergei Trofimovich Date: Thu, 16 Feb 2017 08:36:18 +0000 (+0000) Subject: dev-haskell/lens-family-core: new package, a depend of dev-haskell/persistent-2.6 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=29771599ef057766cb7554113cc04e255d399fc5;p=gentoo.git dev-haskell/lens-family-core: new package, a depend of dev-haskell/persistent-2.6 Haskell 98 Lens Families Package-Manager: Portage-2.3.3, Repoman-2.3.1 --- diff --git a/dev-haskell/lens-family-core/Manifest b/dev-haskell/lens-family-core/Manifest new file mode 100644 index 000000000000..539624cf6358 --- /dev/null +++ b/dev-haskell/lens-family-core/Manifest @@ -0,0 +1 @@ +DIST lens-family-core-1.2.1.tar.gz 11756 SHA256 95e3b9876a6cdcc6865bfad22e04af41430c7a9a6bc96e9a25a2a35a841d19a4 SHA512 1bdb98da1b52d44c1c6d28b92eea4452253925b813b96b04c7d7b25d0e62e91be987106d41ed8bb298173577ad3b50a24508db5bf75d501828e33218b80497e1 WHIRLPOOL a4853eee6c4e1af11a504b2b7d182ac34a71f8e2b4bbe81bc7f3cbe072333f2fdd954ea32825742a6deae9cc6934a4ef6568bbe706a4de5b7d56c713b369cebb diff --git a/dev-haskell/lens-family-core/lens-family-core-1.2.1.ebuild b/dev-haskell/lens-family-core/lens-family-core-1.2.1.ebuild new file mode 100644 index 000000000000..cbf26cda7570 --- /dev/null +++ b/dev-haskell/lens-family-core/lens-family-core-1.2.1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +# ebuild generated by hackport 0.5.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Haskell 98 Lens Families" +HOMEPAGE="http://hackage.haskell.org/package/lens-family-core" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=dev-haskell/transformers-0.2.0:=[profile?] =dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.6 +" diff --git a/dev-haskell/lens-family-core/metadata.xml b/dev-haskell/lens-family-core/metadata.xml new file mode 100644 index 000000000000..291ddcbcd4f3 --- /dev/null +++ b/dev-haskell/lens-family-core/metadata.xml @@ -0,0 +1,25 @@ + + + + + haskell@gentoo.org + Gentoo Haskell + + + This package provides first class( ) functional references. + In addition to the usual operations of getting, setting and composition, plus integration with the state monad, lens families provide some unique features: + + * Polymorphic updating + + * Traversals + + * Cast projection functions to read-only lenses + + * Cast \"toList\" functions to read-only traversals + + * Cast semantic editor combinators to modify-only traversals. + + ( ) For optimal first-class support use the @lens-family@ package with rank 2 / rank N polymorphism. + "Lens.Family.Clone" allows for first-class support of lenses and traversals for those who require Haskell 98. + +