Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* Re: [Caml-list] "lnot" missing from documented keywords list
       [not found] <Pine.LNX.4.44.0507181805540.7312-100000@localhost>
@ 2005-07-19  4:10 ` Robert Roessler
  0 siblings, 0 replies; only message in thread
From: Robert Roessler @ 2005-07-19  4:10 UTC (permalink / raw)
  To: Caml-list

Martin Jambon wrote:

> On Mon, 18 Jul 2005, Robert Roessler wrote:
> 
> 
>>I just noticed this when my OCaml syntax-colorer failed to render lnot
>>as a keyword... :)
>>
>>So I checked the manual section (6.1 "Lexical conventions", subsection
>>"Keywords") that served as the reference for said syntax-colorer and
>>noticed that lnot is not there.
>>
>>Since the other "bitwise" logical operators are listed as keywords, I
>>assume this is an oversight?
> 
> 
> I guess these were made keywords keywords so that they can become
> infix operators. lnot doesn't have this problem since it takes only
> one argument.

Thanks, Martin - that sounds plausible, and I wondered if there was
some arcane reason for the "missing" lnot... this probably also
explains why lnot does not appear in lexer.mll - I had missed this
file on my first pass through the sources. :)

Robert Roessler
roessler@rftp.com
http://www.rftp.com



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-07-19  4:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <Pine.LNX.4.44.0507181805540.7312-100000@localhost>
2005-07-19  4:10 ` [Caml-list] "lnot" missing from documented keywords list Robert Roessler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox