Split the sentence before if and otherwise
This commit is contained in:
parent
878f18e9eb
commit
751fd2e15b
@ -485,8 +485,8 @@ function g(p : int * option(int)) : int =
|
|||||||
```
|
```
|
||||||
|
|
||||||
Guards are boolean expressions that can be used on patterns in both switch
|
Guards are boolean expressions that can be used on patterns in both switch
|
||||||
statements and functions definitions, if a guard expression evalutaes to
|
statements and functions definitions. If a guard expression evalutaes to
|
||||||
`true`, then the corresponding body will be used, otherwise, the next pattern
|
`true`, then the corresponding body will be used. Otherwise, the next pattern
|
||||||
will be checked:
|
will be checked:
|
||||||
|
|
||||||
```sophia
|
```sophia
|
||||||
|
Loading…
x
Reference in New Issue
Block a user