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] Better option to read a file
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-03-17 (18:54)
From: Markus Mottl <markus@o...>
Subject: Re: [Caml-list] Better option to read a file
On Wed, 17 Mar 2004, Agustin Valverde Ramos wrote:
> I want to work with conjunctions and disjunctions of lists:
>      | And of expr list
>      | Or of expr list
> Is it hard/possible to modify  the rest of the code?

I suppose you prefer this representation, because you want to stratify
logical expressions.  The the other representation is otherwise easier
to handle.  It's possible and not too hard to make this extension (a
bit tedious though).

> > (note: the topmost expression also needs parenthesis!). E.g.:
> Why? is it possible to release this restriction?

It's simpler this way.  You just need to add the parenthesis-free
expressions to the "main" nonterminal if you don't want this.


Markus Mottl

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