Skip to content

Commit

Permalink
Update docs/fsharp-cheatsheet.md
Browse files Browse the repository at this point in the history
Co-authored-by: Ruben Bartelink <[email protected]>
  • Loading branch information
SpiralOSS and bartelink authored Jul 9, 2024
1 parent c5dddf0 commit 2096f1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/fsharp-cheatsheet.md
Original file line number Diff line number Diff line change
Expand Up @@ -733,7 +733,7 @@ Another way of implementing interfaces is to use *object expressions*.
### Partial active patterns

*Partial active patterns* share the syntax of parameterized patterns, but their active recognizers accept only one argument.
The *Partial active pattern* should return an `Option<'T>`.
A *Partial active pattern* must return an `Option<'T>`.

let (|DivisibleBy|_|) by n =
if n % by = 0
Expand Down

0 comments on commit 2096f1d

Please sign in to comment.