Doc for local opens.
git-svn-id: http://caml.inria.fr/svn/ocamldoc/trunk@10206 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
51f7019fe1
commit
b61a9d7b33
|
@ -400,3 +400,13 @@ pattern-matching must have a default case.
|
|||
|
||||
Like for abstract and private types, the variance of type parameters
|
||||
is not inferred, and must be given explicitly.
|
||||
|
||||
|
||||
\section{Local opens}
|
||||
\ikwd{let\@\texttt{let}}
|
||||
\ikwd{open\@\texttt{open}}
|
||||
|
||||
The expression
|
||||
@"let" "open" module-path "in" expr@
|
||||
locally opens the module referred to by the module path @module-path@ in
|
||||
the scope of the expression @expr@.
|
||||
|
|
Loading…
Reference in New Issue