Version française
Home     About     Download     Resources     Contact us    
Browse thread
pa_oo.ml question
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Keiko Nakata <keiko@k...>
Subject: Re: [Caml-list] pa_oo.ml question
From: Michael Wohlwend <micha-1@fantasymail.de>
Subject: [Caml-list] pa_oo.ml question
Date: Thu, 30 Mar 2006 21:28:25 +0100

> has anybody tried the oo-syntax extension given here:
> 
> http://www.math.nagoya-u.ac.jp/~garrigue/code/pa_oo.ml

I am using this extension.

> class xxx = object
>  val mutable name = "" with accessor
> end;;

I can compile this code with no errors.

> ocamlc -pp 'camlp4o -I . pa_oo.cmo' -c class.ml

works for me.

Keiko