Skip to content

Commit

Permalink
Forward references to module type extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
Octachron committed Feb 5, 2017
1 parent 1242bca commit f680d31
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
3 changes: 2 additions & 1 deletion manual/manual/refman/exten.etex
Original file line number Diff line number Diff line change
Expand Up @@ -857,7 +857,7 @@ Note that this function uses an explicit polymorphic annotation to obtain
polymorphic recursion.
\fi

\section{Recovering the type of a module}
\section{Recovering the type of a module} \label{s:module-type-of}

\ikwd{module\@\texttt{module}}
\ikwd{type\@\texttt{type}}
Expand Down Expand Up @@ -915,6 +915,7 @@ it to represent sets internally in a different way.
\ikwd{with\@\texttt{with}}
\ikwd{module\@\texttt{module}}
\ikwd{type\@\texttt{type}}
\label{s:signature-substitution}

(Introduced in OCaml 3.12)

Expand Down
7 changes: 7 additions & 0 deletions manual/manual/refman/modtypes.etex
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,13 @@ specification:
| 'open' module-path
| 'include' module-type
\end{syntax}
See also the following language extensions:
\hyperref[s:module-type-of]{recovering the type of a module},
\hyperref[s:signature-substitution]{substitution inside a signature},
\hyperref[s:module-alias]{type-level module aliases},
\hyperref[s:attributes]{attributes},
\hyperref[s:extension-nodes]{extension nodes} and
\hyperref[s:generative-functors]{generative functors}.

\subsection{Simple module types}

Expand Down

0 comments on commit f680d31

Please sign in to comment.