fsprojects / fsprojects/FSharpPlus

Add functions for Nullable<_>

Open
#191 5 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I think at least Option.ofNullableshould be added.

@mausch did a whole module some years ago, I don't think we should add all of them. Remember that Nullable are restricted to non value types, so things like Option.map would break.

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 reviewing the existing Option functions and the nullable-types module linked in the issue at fssnip.net/1A. Confirm the intended scope beyond Option.ofNullable, then check how Nullable values are constrained and define completion as the selected functions being available without breaking Option.map semantics.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.