Module

Bibimbap

Package
purescript-bibimbap
Repository
justinwoo/purescript-bibimbap

#GenericSumError Source

data GenericSumError :: Type -> Type

An instance of the GenericSumError class, a subclass of Error, which holds a genericSum for extracting error information.

#mkGenericSumError Source

mkGenericSumError :: forall a. GetTagName a => a -> Error

Create an Error using a GenericSum value

#mkGenericSumError' Source

mkGenericSumError' :: forall a. GetTagName a => a -> GenericSumError a

Create a GenericSumError using a GenericSum value

#upcastGenericSumError Source

upcastGenericSumError :: forall a. GenericSumError a -> Error

Upcast a GenericSumError to Error

#readGenericSum Source

readGenericSum :: forall a. MatchKey a => Error -> Maybe a

Read a GenericSum from a Error

#readGenericSumError Source

readGenericSumError :: forall a. MatchKey a => Error -> Maybe (GenericSumError a)

Read a GenericSumError from a Error

#getGenericSum Source

getGenericSum :: forall a. GenericSumError a -> a

Get the GenericSum value out of a GenericSumError

#_mkGenericSumError Source

#_readGenericSumError Source

#_getGenericSum Source

_getGenericSum :: forall a. GenericSumError a -> a

#GetTagName Source

class GetTagName (a :: Type)  where

Members

Instances

#GetTagNameImpl Source

class GetTagNameImpl (rep :: Type)  where

Members

Instances

#MatchKey Source

class MatchKey (a :: Type)  where

Members

Instances

#MatchKeyImpl Source

class MatchKeyImpl (rep :: Type)  where

Members

Instances

Modules
Bibimbap