Per Conor McBride, the Newtype typeclass represents the packing and unpacking of a newtype, and allows you to operatate under that newtype with functions such as ala.
12 lines
332 B
Makefile
12 lines
332 B
Makefile
# $NetBSD: buildlink3.mk,v 1.1 2014/01/29 22:18:15 szptvlfn Exp $
|
|
|
|
BUILDLINK_TREE+= hs-newtype
|
|
|
|
.if !defined(HS_NEWTYPE_BUILDLINK3_MK)
|
|
HS_NEWTYPE_BUILDLINK3_MK:=
|
|
|
|
BUILDLINK_API_DEPENDS.hs-newtype+= hs-newtype>=0.2
|
|
BUILDLINK_PKGSRCDIR.hs-newtype?= ../../wip/hs-newtype
|
|
.endif # HS_NEWTYPE_BUILDLINK3_MK
|
|
|
|
BUILDLINK_TREE+= -hs-newtype
|