Merge branch 'romarq_empty_set_annots' into 'dev'

RoMarQ's empty set doc patches

See merge request ligolang/ligo!211
This commit is contained in:
Tom Jack 2019-11-21 14:58:47 +00:00
commit ad2a537e63

View File

@ -28,7 +28,7 @@ end
```cameligo
type int_set = int set
let my_set: int_set =
Set.add 3 (Set.add 2 (Set.add 1 Set.empty))
Set.add 3 (Set.add 2 (Set.add 1 (Set.empty: int set)))
```
<!--END_DOCUSAURUS_CODE_TABS-->
@ -41,10 +41,13 @@ let my_set: int_set =
const my_set: int_set = set end;
const my_set_2: int_set = set_empty;
```
<!--Cameligo-->
```cameligo
let my_set: int_set = (Set.empty: int set)
```
<!--END_DOCUSAURUS_CODE_TABS-->
### Checking if set contains an element
<!--DOCUSAURUS_CODE_TABS-->