fsprojects / fsprojects/FSharpPlus

MonadPlus reform proposal

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

Nobody has claimed this yet.

RFC
Dominant language
F#
Stars
941
Forks
106
PR merge metrics
No merged PRs in 30d

Description

Description

Based on the original proposal in Haskell:

https://wiki.haskell.org/MonadPlus_reform_proposal

But taking into account in Haskell it could be tricky, whereas here it seems to be simpler.

Actually we don' t have a MonadPlus at all, since we don't have typeclasses, just single operations and abstractions that are represented by those groups of operations.

Moreover, we use the Alternative notation instead of the MonadPlus, so I propose to use:

  • <|> for orElse
  • <+> for append

Open questions

Which one will be the one used for monad.plus computation expressions?

Links:

https://www.reddit.com/r/haskell/comments/1q6o2a/the_f_computation_expression_zoo_why_computation/

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start by reading the linked Haskell MonadPlus reform proposal and the Reddit discussion referenced in the issue. No repository files or tests are named; the work is done when the operator choices and their use in monad.plus computation expressions have a clear, accepted design.

Written by the indexing model from the issue text.

Assessment

Tech stack
fsharp
Domain
developer-experience
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.