fsprojects / fsprojects/FSharpPlus
Active Patterns
Nobody has claimed this yet.
- Dominant language
- F#
- Stars
- 941
- Forks
- 106
- PR merge metrics
- No merged PRs in 30d
Description
At the moment we have only one active recognizer: Parse and I'm not very happy with the name as it does exactly the opposite (maybe Parsed is a better name, or ToString or String given that's the inverse function).
But the goal of this issue is to compile a list of useful active patterns and discuss if it worth having them in F#+.
Here are some:
IgnoreCasefor case insensitive string comparisonDate (y, m, d)to deconstruct a DateTime to date components. It could be overloaded to handle tuples.- Null check
(I might add more stuff to this list)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the existing Parse active recognizer and the proposed IgnoreCase, Date, and null-check patterns. Decide which patterns belong in F#+ and settle their names and behavior; done means an agreed scope, since the issue identifies no file or test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- fsharp
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100