You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In fact, this issue has already been fixed by Damien in commit 12957. You did nothing wrong, though, as the web version of the manual has not been updated (since the OCaml release, I suppose), so there is no way to access the up-to-date version before the upcoming OCaml release -- short of looking at the sources in the SVN.
Original bug ID: 6043
Reporter: sdailly
Assigned to: @gasche
Status: closed (set by @xavierleroy on 2015-12-11T18:19:54Z)
Resolution: fixed
Priority: low
Severity: minor
Version: 4.00.1
Category: documentation
Bug description
The first class module exemple give syntax error when tryin to reproduce
http://caml.inria.fr/pub/docs/manual-ocaml-4.00/manual021.html#toc81
Steps to reproduce
$ rlwrap.exe ocaml
OCaml version 4.00.1
module type DEVICE = sig end;;
module type DEVICE = sig end
let devices : (string, module DEVICE) Hashtbl.t = Hashtbl.create 17;;
Characters 23-29:
let devices : (string, module DEVICE) Hashtbl.t = Hashtbl.create 17;;
^^^^^^
Error: Syntax error
Additional information
paren are missing arount « module DEVICE » :
let devices : (string, (module DEVICE)) Hashtbl.t = Hashtbl.create 17;;
val devices : (string, (module DEVICE)) Hashtbl.t =
The text was updated successfully, but these errors were encountered: