News for hackers. Stuff that matters.
Re:Scala 2.10 now available by mietek on Friday January 04, 2013 @04:53PM (#5010187)
Yes! This is exactly what you get in Haskell, and it is awesome for a number of reasons. Check this out:

http://learnyouahaskell.com/input-and-output#hello-world

Re:Scala 2.10 now available by dxbydt on Friday January 04, 2013 @05:13PM (#5010280)
Yeah I know exactly what you mean in Haskell. Its just that in scala given the java inter-op there are a whole hunch of escape hatches that will always be there. I remember in the coursera exercises when you submitted code that used mutable vars...it would flag your code and deduct points. So essentially even if someone provided a purefn annotation...to actually enforce that, the compiler would have to scan each function and disbar i/o, calls to rng, calls to global vars... tall order.
Re:Scala 2.10 now available by SilasX on Saturday January 05, 2013 @01:30AM (#5011906)
Which coursera course? For Scala, or functional programming, or something else? Do you have a link to it?
Re:Scala 2.10 now available by ky3 on Saturday January 05, 2013 @11:51AM (#5013133)
There's only one so far: FP in Scala, run by Odersky himself.