This page is no longer maintained — Please continue to the home page at www.scala-lang.org

Legal method names

1 reply
Jesse Eichar
Joined: 2008-12-20,
User offline. Last seen 42 years 45 weeks ago.
Hi all,

I was wondering the currently supported characters are listed somewhere.  What I mean is that many special characters like + > < | ! etc... can be used as identifiers.  However others like # are not permitted.  I was wondering if there is a list of those that are supported.  All I can find is that special characters are supported when clearly not all are.

Jesse
Jorge Ortiz
Joined: 2008-12-16,
User offline. Last seen 29 weeks 4 days ago.
Re: Legal method names
http://www.scala-lang.org/docu/files/ScalaReference.pdf

On Fri, Apr 3, 2009 at 12:52 AM, Jesse Eichar <jeichar.w@gmail.com> wrote:
Hi all,

I was wondering the currently supported characters are listed somewhere.  What I mean is that many special characters like + > < | ! etc... can be used as identifiers.  However others like # are not permitted.  I was wondering if there is a list of those that are supported.  All I can find is that special characters are supported when clearly not all are.

Jesse

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland