Skip to content

Commit

Permalink
docs(option/flat): flat is not float
Browse files Browse the repository at this point in the history
Co-authored-by: Pedro Castro <[email protected]>
  • Loading branch information
glennsl and aspeddro authored Feb 20, 2023
1 parent c92e2d2 commit fb08033
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Core__Option.resi
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ let some: 'a => option<'a>
## Examples

```rescript
Option.float(Some(Some(10))) // Some(10)
Option.flat(Some(Some(10))) // Some(10)
Option.flat(Some(None)) // None
```
*/
Expand Down

0 comments on commit fb08033

Please sign in to comment.