The one-stop shop for all your error-handling needs! Just import Control.Error. This library encourages an error-handling style that directly uses the type system, rather than out-of-band exceptions.
17 lines
531 B
Makefile
17 lines
531 B
Makefile
# $NetBSD: buildlink3.mk,v 1.1 2020/01/15 07:19:38 pho Exp $
|
|
|
|
BUILDLINK_TREE+= hs-errors
|
|
|
|
.if !defined(HS_ERRORS_BUILDLINK3_MK)
|
|
HS_ERRORS_BUILDLINK3_MK:=
|
|
|
|
BUILDLINK_API_DEPENDS.hs-errors+= hs-errors>=2.3.0
|
|
BUILDLINK_ABI_DEPENDS.hs-errors+= hs-errors>=2.3.0
|
|
BUILDLINK_PKGSRCDIR.hs-errors?= ../../devel/hs-errors
|
|
|
|
.include "../../devel/hs-exceptions/buildlink3.mk"
|
|
.include "../../devel/hs-transformers-compat/buildlink3.mk"
|
|
.include "../../devel/hs-safe/buildlink3.mk"
|
|
.endif # HS_ERRORS_BUILDLINK3_MK
|
|
|
|
BUILDLINK_TREE+= -hs-errors
|