fsharp / fsharp/fslang-suggestions

Support nested type definitions

Open
#277 12 comments 22 reactions 0 assignees View on GitHub
approved-in-principle area: object-programming needs rfc proposed-priority
Dominant language
No language data
Stars
373
Forks
21
PR merge metrics
No merged PRs in 30d

Description

**Submitted by Robert Nielsen on 6/22/2014 12:00:00 AM**
**48 votes on UserVoice prior to migration**

I don't think F# supports nested type definitions yet.
The idea was posted here:
http://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/2313137-inner-types-for-f
Two other references on nested types:
http://msdn.microsoft.com/en-us/library/ms173120.aspx
http://cs.hubfs.net/topic/None/57397

**[Original UserVoice Submission](https://fslang.uservoice.com/forums/245727-f-language/suggestions/6085086)**
[Archived Uservoice Comments](../tree/master/archive/suggestion-6085086-nested-types-for-f.md#comments)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the archived UserVoice comments in archive/suggestion-6085086-nested-types-for-f.md, then review the linked F# and .NET references on nested types. Clarify the proposed language behavior and scope before identifying implementation and test locations; done means an agreed design and support for nested type definitions.

Written by the indexing model from the issue text.

Assessment

Tech stack
fsharp
Domain
compilers
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.