maybeToExceptT

Open
#118 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
42/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Domain
backend

Research direction

The issue proposes maybeT2ExceptT and maybe2ExceptT, with analogous functions in the linked transformers documentation. Read the package’s existing MaybeT and ExceptT modules to find their conventions and exports. Done means adding the proposed conversions with the stated types and checking that they fit the package’s API.

Written by the indexing model from the issue text.

Description

type: enhancement

maybeToExceptT seems like a useful feature.

maybeT2ExceptT :: Functor m => e -> MaybeT m a -> ExceptT e m a and

maybe2ExceptT :: e -> Maybe a -> ExceptT e m a

https://hackage.haskell.org/package/transformers-0.5.6.2/docs/Control-Monad-Trans-Maybe.html#v:maybeToExceptT

Dominant language
PureScript
Stars
72
Forks
43
Avg merge
2d 23h
Merged PRs (30d)
1

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from purescript/purescript-transformers

All issues in purescript/purescript-transformers

Similar issues

More Backend & API Design issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.