On Tue, Apr 3, 2012 at 7:23 AM, Dawid Toton wrote:
> module type S = sig
> include (module type of S) (* 1 *)
> val not_much_code : t
> end
>
> How to do what I mark with (* 1 *) and (* 2 *) correctly? Would it help if I
> upgrade my toolchain from 3.11.2 to some more recent version?
> Dawid
>
On Fri, Mar 9, 2012 at 4:21 AM, Gabriel Scherer
wrote:
> I think this is a case of using a fancy new construction when a
> simpler construction would do just as well.
> For some reasons some people, even beginners, are absolutely fond of
> first-class modules, and insist on using them in situation
On Tue, Feb 21, 2012 at 2:37 PM, Ashish Agarwal wrote:
> I must've accidentally deleted part of my email before hitting send. The
> point was to make the first code sample compile after removing the commented
> line. But that is not allowed; I get a syntax error:
>
> $ ocamlfind ocamlc -c -package
On Fri, Jan 13, 2012 at 3:55 AM, Philippe Veber
wrote:
> Hi Hezekiah
>
> I gave it a shot after a new install of debian wheezy, and it went really
> smoothly. The install was not exactly fresh, as I had installed ocaml
> packages first (old reflex), but anyway I found two deps that blocked the
> i
I would like to announce ocamlbrew, a (very simple, very alpha) tool
for automating and managing builds of OCaml, findlib, and other
OCaml-related items under $HOME on Linux. ocamlbrew takes it name and
a bit of wrapper code from perlbrew[1]. ocamlbrew provides a thin
bash wrapper around the stan
On Fri, Dec 16, 2011 at 3:02 PM, Andrej Bauer wrote:
> Here it is:
>
> http://ocsigen.org/js_of_ocaml/files/toplevel/index.html
>
Another using the Cadmium (http://cadmium.x9c.fr/):
http://ocamljava.x9c.fr/toplevel/toplevel.html
Hez
--
Caml-list mailing list. Subscription management and arch
On Fri, Sep 16, 2011 at 5:33 PM, Pierre-Alexandre Voye
wrote:
>
> I implemented the directory, and as i expected i had a problem : the
> compiler doesn't accept it because it doesn't know the type of object.
>
> So here the code :
>
> class _DIRECTORY = object (self :'self)
> val mutable inde
On Sun, Sep 4, 2011 at 11:22 AM, John Carr wrote:
>
> I am working with a file format the contains 32 bit integers.
> I need to use int32 on 32 bit systems. I would like to use plain
> integers, unboxed and with native machine operations, on 64 bit
> systems.
>
> Is there any way to convince ocam