Strange that no one seems to be correcting errors in the
manual any more. I submitted a bug report for an error in
the automatically generated text in the manual (it fails
because dynlink was not loaded).
I got a prompt response, for which I am grateful.
Oddly, though, the response simply classifies this bug as a
duplicate of a bug reported in August 2010. That bug is
marked as having its resolution open.
I suspect that the documentation could be fixed with a few
minutes work, followed by whatever process updates the
public version.
It's not a big bug, but it's odd that no one has bothered to
fix it in eleven months.
Joshua
--- Begin Message ---
The following issue has been set as DUPLICATE OF issue 0005132.
======================================================================
http://caml.inria.fr/mantis/view.php?id=5317
======================================================================
Reported By: guttman
Assigned To:
======================================================================
Project: OCaml
Issue ID: 5317
Category: OCaml documentation
Reproducibility: N/A
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2011-07-20 17:41 CEST
Last Modified: 2011-07-21 09:28 CEST
======================================================================
Summary: Errors in OCaml manual on web, Section 1.8
Description:
At URL http://caml.inria.fr/pub/docs/manual-ocaml/manual003.html
as of today, there are errors reported in the code being illustrated.
The first error is
##load "camlp4o.cma";;
Characters -1–1:
Error: Reference to undefined global ‘Dynlink’
after which there are of course others, such as
Error: Syntax error
#let parse_expression = parser [< e = parse_expr; _ = Stream.empty >] ->
e;;
Error: Syntax error
Composing the lexer and parser, we finally obtain a function to read an
expression from a character string:
#let read_expression s = parse_expression(lexer(Stream.of_string s));;
Error: Unbound value parse_expression
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
duplicate of 0005132 machine-generated errors in the manual!
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2011-07-20 17:41 guttman New Issue
2011-07-21 09:28 xclerc Relationship added duplicate of 0005132
======================================================================
--- End Message ---
--
Joshua D. Guttman
WPI, Computer Science