fsprojects / fsprojects/FSharpPlus

Add alias of 'result'

Open
#325 5 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

I use both FSharpPlus and FsToolkit.ErrorHandling in all my projects. The latter defines a result builder, which conflicts with the result operator from FSharpPlus. AFAIK there are other standard names for the result operator (not entirely sure – pure? retn?). I suggest FSharpPlus adds one or more of these standard aliases for result.

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 locating the existing result operator and checking how aliases are defined and tested in FSharpPlus. Verify which standard aliases are appropriate, then add the agreed aliases and update or add coverage showing they behave like result.

Written by the indexing model from the issue text.

Assessment

Tech stack
fsharp
Domain
tooling
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.