@@ -52,7 +52,7 @@ Option.some("foo") // Some("foo")
5252let some : 'a => option <'a >
5353
5454/**
55- `flat(value)` flattens a nested `option` value to a single level..
55+ `flat(value)` flattens a nested `option` value to a single level.
5656
5757## Examples
5858
@@ -90,7 +90,7 @@ Option.forEach(None, x => Console.log(x)) // returns ()
9090let forEach : (option <'a >, 'a => unit ) => unit
9191
9292/**
93- `getExn(opt)` returns `value` is `Some(value)`, raises `Not_found` if `None`.
93+ `getExn(opt)` returns `value` if `Some(value)`, raises `Not_found` if `None`.
9494
9595```rescript
9696Option.getExn(Some(3)) // 3
@@ -127,7 +127,7 @@ Option.getUnsafe(Some(3)) == 3
127127Option.getUnsafe(None) // Raises an error
128128```
129129
130- ## Improtant
130+ ## Important
131131
132132This is an unsafe operation, it assumes `value` is neither `None`, `Some(None))`, `Some(Some(None))` etc.
133133*/
@@ -306,7 +306,7 @@ cmp(None, None, clockCompare) // 0
306306let cmp : (option <'a >, option <'b >, ('a , 'b ) => int ) => int
307307
308308/**
309- `zip(a, b)` combines the values contained in `a` and `b` if both are `Some`, returns `None` otherwise..
309+ `zip(a, b)` combines the values contained in `a` and `b` if both are `Some`, returns `None` otherwise.
310310
311311## Examples
312312
0 commit comments