Asterisk in val name using Scala -


just saw example looks following:

val b_* = grater[book].asobject(dbo)

what significance of asterisk in b_* here? what's name in scala , affect have on outcome of b_?

asterisk valid in scala variable , value names, many other characters not allowed in in identifier names in java or other c-like languages. see valid identifier characters in scala more info.

however, because can done doesn't mean should done. eye, it's not obvious @ value represents.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -