From: ciol <ciol13@gmail.com>
To: caml-list@inria.fr
Subject: Re: Functional programming using caml light
Date: Wed, 01 Nov 2006 13:42:13 +0100 [thread overview]
Message-ID: <eia4n6$s71$1@sea.gmane.org> (raw)
In-Reply-To: <eia2ut$l9o$1@sea.gmane.org>
ciol wrote:
> after factoring common prefixes, the author obtains :
>
> Expr ::= Mult RestExpr
>
> RestExpr ::= + Mult RestExpr
> |- Mult RestEXpr
> |(* nothing *)
>
> [...]
>
> But I don't obtain the same result for RestExpr :
>
> RestExpr ::= + Mult Expr
> |- Mult Expr
> | (* nothing *)
>
_Sorry_, it's an error, I obtain :
RestExpr ::= + Expr
| - Expr
| (* nothing *)
But I've just realized that the author's solution is in fact the same as
mine (he replaced Expr in RestExpr by Mult RestExpr. But why ? Isn't it
more complicated ? The result in caml will be identical wont it be ?
next prev parent reply other threads:[~2006-11-01 12:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-01 12:12 ciol
2006-11-01 12:42 ` ciol [this message]
2006-11-02 20:58 ` ciol
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='eia4n6$s71$1@sea.gmane.org' \
--to=ciol13@gmail.com \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox