Import hs-contravariant-0.1.3 as wip/hs-contravariant.
Contravariant functors, sometimes referred to colloquially as cofunctor, even though the dual of a functor is just a functor. As with functor the definition of contravariant for a given ADT is unambiguous.
This commit is contained in:
parent
9da2afb26d
commit
8ce9a4cc38
5 changed files with 46 additions and 0 deletions
4
hs-contravariant/DESCR
Normal file
4
hs-contravariant/DESCR
Normal file
|
@ -0,0 +1,4 @@
|
|||
Contravariant functors, sometimes referred to colloquially as
|
||||
cofunctor, even though the dual of a functor is just a functor. As
|
||||
with functor the definition of contravariant for a given ADT is
|
||||
unambiguous.
|
13
hs-contravariant/Makefile
Normal file
13
hs-contravariant/Makefile
Normal file
|
@ -0,0 +1,13 @@
|
|||
# $NetBSD: Makefile,v 1.1.1.1 2012/02/01 16:11:36 phonohawk Exp $
|
||||
#
|
||||
|
||||
DISTNAME= contravariant-0.1.3
|
||||
CATEGORIES= math
|
||||
|
||||
MAINTAINER= pho@cielonegro.org
|
||||
COMMENT= Haskell 98 contravariant functors
|
||||
LICENSE= modified-bsd
|
||||
|
||||
.include "../../wip/mk/haskell.mk"
|
||||
.include "../../wip/hs-transformers/buildlink3.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
10
hs-contravariant/PLIST
Normal file
10
hs-contravariant/PLIST
Normal file
|
@ -0,0 +1,10 @@
|
|||
@comment $NetBSD: PLIST,v 1.1.1.1 2012/02/01 16:11:36 phonohawk Exp $
|
||||
lib/contravariant-${PKGVERSION}/${HASKELL_VERSION}/Data/Functor/Contravariant.hi
|
||||
lib/contravariant-${PKGVERSION}/${HASKELL_VERSION}/Data/Functor/Contravariant.p_hi
|
||||
lib/contravariant-${PKGVERSION}/${HASKELL_VERSION}/Data/Functor/Contravariant/Compose.hi
|
||||
lib/contravariant-${PKGVERSION}/${HASKELL_VERSION}/Data/Functor/Contravariant/Compose.p_hi
|
||||
lib/contravariant-${PKGVERSION}/${HASKELL_VERSION}/HScontravariant-${PKGVERSION}.o
|
||||
lib/contravariant-${PKGVERSION}/${HASKELL_VERSION}/libHScontravariant-${PKGVERSION}.a
|
||||
lib/contravariant-${PKGVERSION}/${HASKELL_VERSION}/libHScontravariant-${PKGVERSION}_p.a
|
||||
lib/contravariant-${PKGVERSION}/${HASKELL_VERSION}/package-description
|
||||
share/doc/contravariant-${PKGVERSION}/LICENSE
|
14
hs-contravariant/buildlink3.mk
Normal file
14
hs-contravariant/buildlink3.mk
Normal file
|
@ -0,0 +1,14 @@
|
|||
# $NetBSD: buildlink3.mk,v 1.1.1.1 2012/02/01 16:11:36 phonohawk Exp $
|
||||
|
||||
BUILDLINK_TREE+= hs-contravariant
|
||||
|
||||
.if !defined(HS_CONTRAVARIANT_BUILDLINK3_MK)
|
||||
HS_CONTRAVARIANT_BUILDLINK3_MK:=
|
||||
|
||||
BUILDLINK_API_DEPENDS.hs-contravariant+= hs-contravariant>=0.1.3
|
||||
BUILDLINK_PKGSRCDIR.hs-contravariant?= ../../wip/hs-contravariant
|
||||
|
||||
.include "../../wip/hs-transformers/buildlink3.mk"
|
||||
.endif # HS_CONTRAVARIANT_BUILDLINK3_MK
|
||||
|
||||
BUILDLINK_TREE+= -hs-contravariant
|
5
hs-contravariant/distinfo
Normal file
5
hs-contravariant/distinfo
Normal file
|
@ -0,0 +1,5 @@
|
|||
$NetBSD: distinfo,v 1.1.1.1 2012/02/01 16:11:36 phonohawk Exp $
|
||||
|
||||
SHA1 (contravariant-0.1.3.tar.gz) = 26b0ce4a5454ea8fb4a34e6ff43d442c03c75bea
|
||||
RMD160 (contravariant-0.1.3.tar.gz) = e18383f013f8279067a3d51db117b1adda1ae030
|
||||
Size (contravariant-0.1.3.tar.gz) = 2804 bytes
|
Loading…
Reference in a new issue