JetBrains / JetBrains/resharper-fsharp

Idris-style case split code generation

Open
#460 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
F#
Stars
351
Forks
55
Avg merge
9h 38m
Merged PRs (30d)
16

Description

i've recently looked into a lot of academic research languages and i found something that'd be very cool to have in F# as well.

the idea is to have an action on a discriminated union value that creates all the available cases like this.

![case split](https://user-images.githubusercontent.com/36763595/206566650-9415dca6-2388-4d5e-9495-562e267f6aa5.gif)

basically i want to implement the same thing, but i was hoping someone would help me out with this.
since filling in a single discriminated union is already implemented it shouldn't be much of a leap right?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the existing implementation for filling in a single discriminated-union case, which the issue identifies as related work. Compare its entry point and tests with the requested Idris-style case-split action; done means the action generates all available discriminated-union cases.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.