Skip to content

Commit

Permalink
add orDefault and mention to ExtCore.Option module
Browse files Browse the repository at this point in the history
  • Loading branch information
smoothdeveloper committed Mar 2, 2016
1 parent 0efcd17 commit 4898124
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions RFCs/FS-1007-additional-Option-module-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Gets the value associated with the option or the supplied default value
```fsharp
val getOrDefault : 'a -> 'a option -> 'a
val defaultIfNone : 'a -> 'a option -> 'a
val orDefault : 'a -> 'a option -> 'a
```

#### Option.map overload
Expand All @@ -39,6 +40,7 @@ val map3: ('a -> 'b -> 'c -> 'd) -> 'a option -> 'b option -> 'c option -> 'd op

- `inline` modifier
- exact additions
- study adopting `ExtCore.Option` module declared in https://github.com/jack-pappas/ExtCore/blob/5221f4e67a93cffdb85203f3ae403a6052bcfbc0/ExtCore/Pervasive.fs#L810

### Naming

Expand Down

0 comments on commit 4898124

Please sign in to comment.