|
syntax questions: msg#00025lang.scala
Greetings, A couple questions w.r.t. syntax: - It seems the lexer doesn't like access on the 'class' member (e.g. the _expression_ "Employee.class" yields the error "identifier expected but 'class' found"). In my case this is an annoyance because a tool I'm using (a lightweight ORM) requires the class name to be mentioned as part of it's required metadata. Is this a bug or intended behavior? - I'd love to see a builtin tuple syntax -- e.g. (x,y,z) instead of Tuple3(x,y,z) for [de]constructors -- is that a remote possibility? As an ML user, the former feels quite a bit more elegant... but I guess Scala's probably not targeting my demographic quite as heavily, as say, Java users ;-) Cheers, Jason |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Eclipse plugin... scala/java mixed: 00025, Nathan Sobo |
|---|---|
| Next by Date: | self-referential static members: 00025, Jason Kinzer |
| Previous by Thread: | Eclipse plugin... scala/java mixedi: 00025, Nathan Sobo |
| Next by Thread: | Re: syntax questions: 00025, Lex Spoon |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |