The convention of the documentation is not to use the type annotations. you can just write 
```
erdos_renyi_graph(g, n, p[; has_self_loops=false])
```
and provide concise explanations of what the function returns, and what the parameters are