Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: 2002-10-17 (16:55)
From: Daniel de Rauglaudre <daniel.de_rauglaudre@i...>
Subject: Re: [Caml-list] a quick question on camlp4

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"?

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: