{ import my.crazy.implicit.functions. _ // use them... } // code I know isn't touched by them.
Why not write new IteratorInt { ... } Edit: This is the style used by Programming in Scala (see sample chapter pdf) new RationalTrait { val numerArg = 1 * x val denomArg = 2 * x } and Java Coding Conventions. Open brace "{" appears at the end of the same line as the declaration statement.
1 I'm with you! A good code style is very important. – Eastsun Oct 6 '09 at 13:30 I dislike this coding style (in Java I put opening braces on new lines) but semicolon inference forces me to use it in Scala.
Down with semicolon inference! – starblue Oct 6 '09 at 14:31.
Looking through the Scala 2.8 Predef class, I find that there is a method "locally". As near as I can tell, it's the same as Predef. Identity, except for having the "@inline" annotation.
What's it for, and why is it important enough to be in Predef (and thus usable anywhere in Scala)?
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.