fsprojects / fsprojects/FSharpPlus

New Validation type

Open
#499 2 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement F#+ v2.0
Dominant language
F#
Stars
941
Forks
106
PR merge metrics
No merged PRs in 30d

Description

I would like to swap the type parameters order, so instead of Validation<'TError, 'T> we define it like Validation<'T, 'TError>.

Also we could change the field names to Okay and Errors, the latter gives us a hint that it's about accumulative validation.

This is, of course for F#+ 2.0

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

Search the FSharpPlus repository for the Validation type and its usages, then assess the compatibility impact of changing the type-parameter order and field names for F#+ 2.0. Done means the proposed API is consistently updated and its migration or compatibility implications are documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
fsharp
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.