Doc for local opens.

git-svn-id: http://caml.inria.fr/svn/ocamldoc/trunk@10206 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Alain Frisch 2010-03-19 15:05:07 +00:00
parent 51f7019fe1
commit b61a9d7b33
1 changed files with 10 additions and 0 deletions

View File

@ -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@.