OneTuple fills the "tuple gap" with a singleton tuple. It does
not support the usual parenthesized tuple syntax (which would be "(a)" instead of "OneTuple a"). It * has the expected laziness properties, * can be pattern-matched, * ships with instances for several standard type classes, including all those supported by H98-standard tuples, * requires no language extensions, except for hierarchical modules. ok jasper@
This commit is contained in:
parent
b8e5559059
commit
069d35a99d
18
devel/hs-OneTuple/Makefile
Normal file
18
devel/hs-OneTuple/Makefile
Normal file
@ -0,0 +1,18 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2012/10/31 19:12:27 kili Exp $
|
||||
|
||||
COMMENT = singleton tuple
|
||||
|
||||
DISTNAME = OneTuple-0.2.1
|
||||
CATEGORIES = devel
|
||||
|
||||
# BSD3
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
PERMIT_PACKAGE_FTP = Yes
|
||||
PERMIT_DISTFILES_CDROM =Yes
|
||||
PERMIT_DISTFILES_FTP = Yes
|
||||
|
||||
MODULES = lang/ghc
|
||||
|
||||
MODGHC_BUILD = cabal hackage haddock register
|
||||
|
||||
.include <bsd.port.mk>
|
2
devel/hs-OneTuple/distinfo
Normal file
2
devel/hs-OneTuple/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (ghc/OneTuple-0.2.1.tar.gz) = S290ttkt8RKw9OrxXM3F+7dj1Z8H6aKvpWkO+JFZovQ=
|
||||
SIZE (ghc/OneTuple-0.2.1.tar.gz) = 2840
|
8
devel/hs-OneTuple/pkg/DESCR
Normal file
8
devel/hs-OneTuple/pkg/DESCR
Normal file
@ -0,0 +1,8 @@
|
||||
OneTuple fills the "tuple gap" with a singleton tuple. It does
|
||||
not support the usual parenthesized tuple syntax (which would be
|
||||
"(a)" instead of "OneTuple a"). It
|
||||
* has the expected laziness properties,
|
||||
* can be pattern-matched,
|
||||
* ships with instances for several standard type classes,
|
||||
including all those supported by H98-standard tuples,
|
||||
* requires no language extensions, except for hierarchical modules.
|
27
devel/hs-OneTuple/pkg/PLIST
Normal file
27
devel/hs-OneTuple/pkg/PLIST
Normal file
@ -0,0 +1,27 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/10/31 19:12:27 kili Exp $
|
||||
lib/ghc/${DISTNAME}/
|
||||
lib/ghc/${DISTNAME}/Data/
|
||||
lib/ghc/${DISTNAME}/Data/Tuple/
|
||||
lib/ghc/${DISTNAME}/Data/Tuple/OneTuple.hi
|
||||
lib/ghc/${DISTNAME}/HS${DISTNAME}.o
|
||||
lib/ghc/${DISTNAME}/libHS${DISTNAME}.a
|
||||
lib/ghc/${DISTNAME}/register.sh
|
||||
share/doc/hs-${DISTNAME}/
|
||||
share/doc/hs-${DISTNAME}/LICENSE
|
||||
share/doc/hs-${DISTNAME}/html/
|
||||
share/doc/hs-${DISTNAME}/html/Data-Tuple-OneTuple.html
|
||||
share/doc/hs-${DISTNAME}/html/OneTuple.haddock
|
||||
share/doc/hs-${DISTNAME}/html/doc-index.html
|
||||
share/doc/hs-${DISTNAME}/html/frames.html
|
||||
share/doc/hs-${DISTNAME}/html/haddock-util.js
|
||||
share/doc/hs-${DISTNAME}/html/hslogo-16.png
|
||||
share/doc/hs-${DISTNAME}/html/index-frames.html
|
||||
share/doc/hs-${DISTNAME}/html/index.html
|
||||
share/doc/hs-${DISTNAME}/html/mini_Data-Tuple-OneTuple.html
|
||||
share/doc/hs-${DISTNAME}/html/minus.gif
|
||||
share/doc/hs-${DISTNAME}/html/ocean.css
|
||||
share/doc/hs-${DISTNAME}/html/plus.gif
|
||||
share/doc/hs-${DISTNAME}/html/synopsis.png
|
||||
@exec /usr/bin/env HOME=/nonexistent %D/lib/ghc/${DISTNAME}/register.sh -v0
|
||||
@unexec /usr/bin/env HOME=/nonexistent %D/lib/ghc/${DISTNAME}/unregister.sh -v0 --force
|
||||
lib/ghc/${DISTNAME}/unregister.sh
|
Loading…
Reference in New Issue
Block a user