* lower-case tag names allowed?
@ 2000-11-07 9:13 Wolfgang Gehrke
0 siblings, 0 replies; only message in thread
From: Wolfgang Gehrke @ 2000-11-07 9:13 UTC (permalink / raw)
To: caml-list
Hello,
the top level tells me:
Objective Caml version 3.00
# let test1 = `A;;
val test1 : [> `A] = `A
# let test2 = `a;;
val test2 : [> `a] = `a
on the other hand the manual says:
Variant tag = uppercase (tag-name ::= capitalized-ident)
Personally I like to have both possibilities, but I would not like to
rewrite the code in the future. In fact one can bounce into a keyword
(let test = `method;; fails).
What is correct?
Thank you,
Wolfgang
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-11-08 17:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-07 9:13 lower-case tag names allowed? Wolfgang Gehrke
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox