in which Shapeless is only threatened to be discussed.
- Josh & co have 900,000 lines of open source Scala code compiling on 2.11.0-RC3
- does 2.10.4 support Java 8? as far as we know. (Daniel had bytecode validation problems with 2.10.1)
scala> class C | |
defined class C | |
scala> implicit val c = new C | |
c: C = C@33833882 | |
scala> def foo(x: Int)(implicit c: C) = x + 1 | |
foo: (x: Int)(implicit c: C)Int | |
scala> foo(3) |
the people have spoken | |
45-minute talks: | |
- Heather Miller, “Academese to English: Scala's Type System, Dependent Types and What It Means To You” | |
- Daniel Spiewak, “May Your Data Ever Be Coherent” | |
- Eugene Burmako & Lars Hupel, “Macros vs. Types” | |
30-minute talks: | |
- Eugene Yokota, “Learning Scalaz” | |
- P. Oscar Boykin, “Summingbird: a streaming map-reduce API for Storm, Hadoop and more” |
to-report add [a b] | |
reset-timer | |
wait a | |
wait b | |
report timer | |
end | |
observer> show add 2 2 | |
observer: 4 | |
observer> show add 2 2 |
// pseudo-Scala with nonexistent "yield" in while | |
val generator = | |
while(true) { | |
val in = readLine() | |
if (in == null) | |
break | |
yield in | |
} |
% cd /usr/local/nescala | |
% echo full details at nescala.org (mobile-friendly) | |
zsh: number expected | |
% scala | |
Welcome to Scala | |
scala> :power | |
** Power User mode enabled | |
scala> ^Z | |
zsh: suspended scala |
in which Shapeless is only threatened to be discussed.
Modeling the Transition to Public School Choice
http://jasss.soc.surrey.ac.uk/17/2/3.html
Spiro Maroulis, Eytan Bakshy, Louis Gomez and Uri Wilensky
"The models in this paper were implemented using the NetLogo multi-agent
programmable modeling environment"
Optimization of Agent-Based Models: Scaling Methods and Heuristic Algorithms
http://jasss.soc.surrey.ac.uk/17/2/6.html
Matthew Oremland and Reinhard Laubenbacher
"NetLogo was chosen as the modeling platform in this study". two models from NetLogo's Sample Models were studied: Rabbits Grass Weeds and Sugarscape
// method bodies in Foo are just dummies | |
scala> class Foo[T] { def parse(s: String): T = null.asInstanceOf[T] ; def format(t: T): String = ""} | |
defined class Foo | |
scala> class C; class D | |
defined class C | |
defined class D | |
scala> val foos = List[Foo[_]](new Foo[C], new Foo[D]) |