Skip to content

Commit 4ac8df2

Browse files
committed
Manual: multiple locally abstract type example
1 parent c21c473 commit 4ac8df2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

manual/manual/refman/exten.etex

+1
Original file line numberDiff line numberDiff line change
@@ -556,6 +556,7 @@ as syntactic sugar for @"fun" '(' "type" typeconstr-name_1 ')' "->" \ldots "->"
556556
"fun" '(' "type" typeconstr-name_n ')' "->" expr@. For instance,
557557
\begin{verbatim}
558558
let f = fun (type t u v) -> fun (foo : (t * u * v) list) -> ...
559+
let f' (type t u v) (foo : (t * u * v) list) = ...
559560
\end{verbatim}
560561

561562
This construction is useful because the type constructors it introduces

0 commit comments

Comments
 (0)