fsharp / fsharp/fslang-suggestions
Allow n partitions for ActivePatterns instead of a max 7
- Dominant language
- No language data
- Stars
- 373
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Description
**Submitted by Steven Taylor on 3/25/2014 12:00:00 AM**
**23 votes on UserVoice prior to migration**
Active patterns can only have seven partitions (see: http://msdn.microsoft.com/en-us/library/dd233248.aspx)
It would be good if this was a stylistic constraint that could be overridden if desired.
For example, if active patterns are getting used to split up XML nodes meaningfully, you aren't in control of how many nodes sensibly fit into the top level.
**[Original UserVoice Submission](https://fslang.uservoice.com/forums/245727-f-language/suggestions/5676471)**
[Archived Uservoice Comments](../tree/master/archive/suggestion-5676471-allow-n-partitions-for-activepatterns-instead-of.md#comments)
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reading the linked MSDN documentation for active-pattern partitions and the archived UserVoice comments. Review the existing discussion to identify design and compatibility concerns. Done should mean a concrete, agreed proposal for allowing more than seven partitions while preserving a clear opt-in behavior.
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
- Mostly clear
- Newbie friendliness
- 35/100