Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] [camlp4] compiling against Pcaml module
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Daniel de Rauglaudre <daniel.de_rauglaudre@i...>
Subject: Re: [Caml-list] a quick question on camlp4
Hi,

On Thu, Oct 17, 2002 at 09:28:31AM -0700, Alexander V.Voinov wrote:

> Is it possible to eliminate the keyword 'function' from this,
> that is to implement an extension like:
> 
> iterate <list> with <pat1> -> <expr1> | <pat2> -> <expr2> ...

Not a problem to keep 'function' since it is already a keyword in
OCaml (normal syntax).

> I'm asking this just because I don't have time now to investigate
> this by my own :-).

What do you ask, exactly? Since you implemented your "iterate"
extension, I suppose that you know how to use Camlp4. What is the
difficulty to implement your "fold"?

-- 
Daniel de RAUGLAUDRE
daniel.de_rauglaudre@inria.fr
http://cristal.inria.fr/~ddr/
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners