Dear list,
I am looking for a way to gather the messages coming from various
modules of a program and selectively dispatch them to STDERR, a log
file, or whatever.
A module processing the messages in a manner similar to the `syslog'
found on UNIX systems would be nice.
--
Best regards,
From: Guillaume Yziquel guillaume.yziq...@citycable.ch
To continue on the example of nil: the current definition of nil
(i.e. the one with type hd : 'a.'a ; tl : 'b.'b) would be written as
class nil : object
polymorphic method hd = raise Empty
polymorphic method tl = raise Empty
end
blue storm a écrit :
With a camlp4 extension, you could inspect the (syntaxically explicit)
parameters of you method, and (syntaxically) generate a polymorphic
type for each one : polymorphic method foo bar baz = ... would be
translated into method foo : 'a 'b . 'a - 'b - 'c = fun (bar : 'a)
Jacques Garrigue a écrit :
From: Guillaume Yziquel guillaume.yziq...@citycable.ch
To continue on the example of nil: the current definition of nil
(i.e. the one with type hd : 'a.'a ; tl : 'b.'b) would be written as
class nil : object
polymorphic method hd = raise Empty
polymorphic
Hi there,
Recently I started to use the Format module's support for custom tags
(in order to print XML). I noticed a somehow strange behavior (at least
it seems strange to me). What follows is a minimal example:
First enable tag printing via
# Format.set_tags true;;
- : unit = ()
Now
Dear list,
Is there a way to generate comments from camlp4 code?
We have preprocessors that generate the following kind of code in signatures:
:sig_item
$sig_generator the_type_declaration$;
However, these extra function signatures show up in the output of
ocamldoc which is very
Dear ocaml users,
I am just trying to install camlp5-5.12 to run a code written in ocaml. I have
succesfully installed ocaml-3.11.1 but when I try to install camlp5-5.12 by
executing the make command I receive the following error messages (just copied
the last couple of rows:
cp ast2pt.mli
I don't know the answer but you might try using ocamlbuild's mlpack and
odocl features, and see how it does it.
On Fri, Sep 11, 2009 at 11:47 AM, Alexey Rodriguez mrche...@gmail.comwrote:
Dear list,
I am trying to build ocamldoc documentation for an ocaml project that
contains multiple