I love the _ operator.

2009/10/22 Timothy Perrett <timo...@getintheloop.eu>:
>
> I think this is a bit of a running joke in the scala comunity right
> now - your right, underscore really does have a number of meanings; I
> think this will be changed in some future Scala release.
>
> Your also forgetting:
>
> import some.package._
>
> Cheers, Tim
>
> On 22 Oct 2009, at 12:57, tiro wrote:
>
>> underscore. At least four different uses:
>> - "it" for defining anonymous functions like above
>> - default value
>> - matching placeholder whose value is ignored
>> - use for constructing setter method names boolean functions (empty_?)
>
>
> >
>



-- 
Jonas Bonér

twitter: @jboner
blog:    http://jonasboner.com
work:   http://scalablesolutions.se
code:   http://github.com/jboner
code:   http://akkasource.org
also:    http://letitcrash.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to