Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kakkun61/either-result
The simplest ’MonadFail’ instance
https://github.com/kakkun61/either-result
hacktoberfest haskell
Last synced: 11 days ago
JSON representation
The simplest ’MonadFail’ instance
- Host: GitHub
- URL: https://github.com/kakkun61/either-result
- Owner: kakkun61
- License: other
- Created: 2020-07-25T21:26:05.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-07-12T03:55:04.000Z (over 1 year ago)
- Last Synced: 2024-10-09T10:20:26.594Z (29 days ago)
- Topics: hacktoberfest, haskell
- Language: Haskell
- Homepage: https://hackage.haskell.org/package/either-result
- Size: 38.1 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# either-result
[![Hackage](https://matrix.hackage.haskell.org/api/v2/packages/either-result/badge)](http://hackage.haskell.org/package/either-result) [![GitHub Actions: main](https://github.com/kakkun61/either-result/workflows/main/badge.svg)](https://github.com/kakkun61/either-result/actions?query=workflow%3Amain) [![Join the chat at https://gitter.im/either-result/community](https://badges.gitter.im/either-result/community.svg)](https://gitter.im/either-result/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Sponsor](https://img.shields.io/badge/Sponsor-%E2%9D%A4-red?logo=GitHub)](https://github.com/sponsors/kakkun61)
`Result a` is a wrapper of `Either String a`, but `Result` is an instance of `MonadFail`.
[Article](https://dev.to/kakkun61/the-simplest-monadfail-instance-2i4e).