Synchronous and Asynchronous exceptions which are explicit in the type signature. The first ones are very similar to Either and Control.Monad.Error.ErrorT. The second ones are used for System.IO.readFile and System.IO.hGetContents. This package is a proposal for improved exception handling in Haskell. It strictly separates between handling of exceptional situations (file not found, invalid user input, see http://www.haskell.org/haskellwiki/Exception) and (programming) errors (division by zero, index out of range, see http://www.haskell.org/haskellwiki/Error). Handling of the first one is called "exception handling", whereas handling of errors is better known as "debugging".
14 lines
490 B
Makefile
14 lines
490 B
Makefile
# $NetBSD: buildlink3.mk,v 1.1.1.1 2009/09/23 06:48:34 phonohawk Exp $
|
|
|
|
BUILDLINK_TREE+= hs-explicit-exception
|
|
|
|
.if !defined(HS_EXPLICIT_EXCEPTION_BUILDLINK3_MK)
|
|
HS_EXPLICIT_EXCEPTION_BUILDLINK3_MK:=
|
|
|
|
BUILDLINK_API_DEPENDS.hs-explicit-exception+= hs-explicit-exception>=0.1.4
|
|
BUILDLINK_PKGSRCDIR.hs-explicit-exception?= ../../wip/hs-explicit-exception
|
|
|
|
.include "../../wip/hs-transformers/buildlink3.mk"
|
|
.endif # HS_EXPLICIT_EXCEPTION_BUILDLINK3_MK
|
|
|
|
BUILDLINK_TREE+= -hs-explicit-exception
|