Skip to content

Commit 2b90f82

Browse files
committed
doc improvements
1 parent 0dcadc7 commit 2b90f82

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Core__Option.resi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ let cmp: (option<'a>, option<'b>, ('a, 'b) => int) => int
252252
/**
253253
`exists(option, predicate)` tests whether the option is both `Some` and the predicate applied to its value is true.
254254
255-
An option can be thought of as an array with 0 or 1 items in it. This function is similar to `Array.some` and acts like the "there exists" quantifier in mathematics. In particular it returns false for an "empty" option with a value of `None`.
255+
An option can be thought of as an array with 0 or 1 items in it. This function is similar to `Array.some` and acts like the "there exists" quantifier in mathematics. In particular it returns false for an "empty" `None` option.
256256
257257
## Examples
258258
@@ -267,7 +267,7 @@ let exists: (option<'a>, 'a => bool) => bool
267267
/**
268268
`isNoneOr(option, predicate)` tests whether the option is either `None` or the predicate applied to its value is true.
269269
270-
An option can be thought of as an array with 0 or 1 items in it. This function is similar to `Array.every` and acts like the "for all" quantifier in mathematics. In particular it returns true for an "empty" option with a value of `None`
270+
An option can be thought of as an array with 0 or 1 items in it. This function is similar to `Array.every` and acts like the "for all" quantifier in mathematics. In particular it returns true for an "empty" `None`.
271271
272272
## Examples
273273

0 commit comments

Comments
 (0)