* camlp4 3.10 and \function
@ 2007-06-13 11:42 Richard Jones
2007-06-13 12:34 ` [Caml-list] " Nicolas Pouillard
0 siblings, 1 reply; 5+ messages in thread
From: Richard Jones @ 2007-06-13 11:42 UTC (permalink / raw)
To: caml-list
Using the revised syntax within quotations it doesn't let me use \lsl
(the revised syntax way to turn an infix function into a prefix
function). Instead I have to write this hack:
<:expr< $lid:"lsl"$ >>
which works.
Bug?
Rich.
--
Richard Jones
Red Hat
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Caml-list] camlp4 3.10 and \function
2007-06-13 11:42 camlp4 3.10 and \function Richard Jones
@ 2007-06-13 12:34 ` Nicolas Pouillard
2007-06-13 12:53 ` Richard Jones
2007-06-13 12:55 ` Richard Jones
0 siblings, 2 replies; 5+ messages in thread
From: Nicolas Pouillard @ 2007-06-13 12:34 UTC (permalink / raw)
To: Richard Jones; +Cc: caml-list
On 6/13/07, Richard Jones <rich@annexia.org> wrote:
>
> Using the revised syntax within quotations it doesn't let me use \lsl
> (the revised syntax way to turn an infix function into a prefix
> function). Instead I have to write this hack:
>
> <:expr< $lid:"lsl"$ >>
>
> which works.
>
> Bug?
>
No this is a feature :) The revised syntax follow the original one on
this point.
So this <:expr< (lsl) >> will works.
--
Nicolas Pouillard
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Caml-list] camlp4 3.10 and \function
2007-06-13 12:34 ` [Caml-list] " Nicolas Pouillard
@ 2007-06-13 12:53 ` Richard Jones
2007-06-13 12:55 ` Richard Jones
1 sibling, 0 replies; 5+ messages in thread
From: Richard Jones @ 2007-06-13 12:53 UTC (permalink / raw)
To: Nicolas Pouillard; +Cc: caml-list
On Wed, Jun 13, 2007 at 02:34:30PM +0200, Nicolas Pouillard wrote:
> On 6/13/07, Richard Jones <rich@annexia.org> wrote:
> >
> >Using the revised syntax within quotations it doesn't let me use \lsl
> >(the revised syntax way to turn an infix function into a prefix
> >function). Instead I have to write this hack:
> >
> > <:expr< $lid:"lsl"$ >>
> >
> >which works.
> >
> >Bug?
> >
>
> No this is a feature :) The revised syntax follow the original one on
> this point.
>
> So this <:expr< (lsl) >> will works.
That's interesting because I tried that and it didn't work.
Rich.
--
Richard Jones
Red Hat
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Caml-list] camlp4 3.10 and \function
2007-06-13 12:34 ` [Caml-list] " Nicolas Pouillard
2007-06-13 12:53 ` Richard Jones
@ 2007-06-13 12:55 ` Richard Jones
2007-06-13 13:09 ` Nicolas Pouillard
1 sibling, 1 reply; 5+ messages in thread
From: Richard Jones @ 2007-06-13 12:55 UTC (permalink / raw)
To: Nicolas Pouillard; +Cc: caml-list
On Wed, Jun 13, 2007 at 02:34:30PM +0200, Nicolas Pouillard wrote:
> So this <:expr< (lsl) >> will works.
The error I get when I try it is:
Parse error: illegal begin of quotation of expression
Rich.
--
Richard Jones
Red Hat
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Caml-list] camlp4 3.10 and \function
2007-06-13 12:55 ` Richard Jones
@ 2007-06-13 13:09 ` Nicolas Pouillard
0 siblings, 0 replies; 5+ messages in thread
From: Nicolas Pouillard @ 2007-06-13 13:09 UTC (permalink / raw)
To: Richard Jones; +Cc: caml-list
Hum that's right the 3.10.0 is buggy on the particular point of (lsl),
(lor), ... but (+)... works, my bad :(
On 6/13/07, Richard Jones <rich@annexia.org> wrote:
> On Wed, Jun 13, 2007 at 02:34:30PM +0200, Nicolas Pouillard wrote:
> > So this <:expr< (lsl) >> will works.
>
> The error I get when I try it is:
>
> Parse error: illegal begin of quotation of expression
>
> Rich.
>
> --
> Richard Jones
> Red Hat
>
--
Nicolas Pouillard
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-06-13 13:09 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-13 11:42 camlp4 3.10 and \function Richard Jones
2007-06-13 12:34 ` [Caml-list] " Nicolas Pouillard
2007-06-13 12:53 ` Richard Jones
2007-06-13 12:55 ` Richard Jones
2007-06-13 13:09 ` Nicolas Pouillard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox