Recent Contributions



Join Stack Overflow
Want to help improve Scala Language documentation?
Join the Stack Overflow community!
It only takes a minute, and your contributions will benefit developers forever.
Composing monads, monad transformers
Describing limitations of monad composition (example: options with lists does not work ` for ( v <- Some(""); _ <- List(v) ) yield v `, but with transformation those compose too).
requested by Gábor Bakos 4,390
Continuation Passing Style (CPS)
Some use cases and examples would be nice. Also an example showing how to avoid stack overflows (trampoline/free monad). Do you think this should be in the Recursion topic?
requested by Gábor Bakos 4,390
Performance Analysis
How to do basic analysis with different benchmarking frameworks
requested by TomTom 893
Scope
How is scope defined in scala? Is there any protected / public / private?
requested by dieend 946
2 comments
scala in J2EE
scala code examples of full replacement in j2ee infrastructure: -servlets -ejb -scala server pages ...
requested by nexoma 26
Compilation flags on scalac
Not sure if the compiler should be approached here, but I found hard to understand what some flags do mean as the documentation is weak. I recommend 3 articles (disclosure: 1 was written by me to help others also struggling): * pedrorijo.com/blog/scala-compiler-review-code-warnings * blog.threatstack.com/… (link to pt2)
requested by pedrorijo91 1,538
1 comment
(typesafe) enumerations
native scala enumerations are not typesafe nor do offer exhaustive pattern matching among other problems. what are the alternatives? starting point maybe: pedrorijo.com/blog/scala-enums
requested by pedrorijo91 1,538
scodec
scodec is a kind of parser combinator for binary data. It's really helpful for anyone wishing to work with binary data with scala/java: the building blocks are quite well documented in the lib's scaladoc, but there is a general lack of more elaborate examples. Or should such a thing have its own top-level topic?
requested by Shastick 380