caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* let int = ?([' ' '\t'] '-') digits+
@ 2007-06-29 15:39 Jon Harrop
  2007-06-29 15:56 ` [Caml-list] " Robert C Fischer
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: Jon Harrop @ 2007-06-29 15:39 UTC (permalink / raw)
  To: Caml List


If OCaml's lexer handled numbers of this format, would it be possible to 
write:

  f -1 -2

to mean:

  f (-1) (-2)

rather than:

  f - 1 - 2

Is this a good idea?

-- 
Dr Jon D Harrop, Flying Frog Consultancy Ltd.
The OCaml Journal
http://www.ffconsultancy.com/products/ocaml_journal/?e


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2007-06-29 21:11 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-29 15:39 let int = ?([' ' '\t'] '-') digits+ Jon Harrop
2007-06-29 15:56 ` [Caml-list] " Robert C Fischer
2007-06-29 16:32   ` Brian Hurt
2007-06-29 16:40   ` Jon Harrop
2007-06-29 18:21     ` Philippe Wang
2007-06-29 15:57 ` pzimmer
2007-06-29 16:35   ` Robert C Fischer
2007-06-29 16:41   ` Jon Harrop
2007-06-29 17:57 ` Stefan Monnier
2007-06-29 18:11   ` [Caml-list] " Robert C Fischer
2007-06-29 21:05     ` Jon Harrop
2007-06-29 18:29 ` [Caml-list] " skaller
2007-06-29 18:53   ` Pal-Kristian Engstad
2007-06-29 19:21     ` Daniel Bünzli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).