Skip to content

Add MonadFail instance for Either #21

@chshersh

Description

@chshersh
instance IsString str => MonadFail (Either str) where
    fail = Left . fromString

Metadata

Metadata

Assignees

Labels

newBring something new into library (add function or type or interface)

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions