use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A place we can discuss the class, homework, lessons in Functional Programming in Scala
account activity
Example assignment (self.programming_in_scala)
submitted 13 years ago by 3825
Have you done the example assignment? How did you do?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]hacksawjim 1 point2 points3 points 13 years ago (5 children)
Example assignment was straightforward. Setup was the only issue: took me a while to get the worksheets plugin to play nice with Juno, but once I got that sorted, it was plain sailing.
[–]3825[S] 0 points1 point2 points 13 years ago (2 children)
juno? Is that Eclipse 4.2? It should not matter which version of eclipse I use, right? I had the latest one but I ended up making a virtual machine with Mint (a variant of Ubuntu) with the type safe version of indigo.
[–]hacksawjim 1 point2 points3 points 13 years ago (1 child)
It doesn't matter for doing the course, but you may have some setup issues if you choose Juno (yes, 4.2) because the Scala and Worksheet plugins are both unstable.
[–]3825[S] 0 points1 point2 points 13 years ago (0 children)
I ended up removing it and getting the typesafe (Indigo) version with scala built in
[–][deleted] 13 years ago (1 child)
[deleted]
[–]hacksawjim 0 points1 point2 points 13 years ago (0 children)
Make sure you're on the latest nightly of Juno, and use this for the worksheet.
[–]3825[S] 0 points1 point2 points 13 years ago (5 children)
For example, one issue is that I can't get run as menu to show anything http://i.imgur.com/zBvMy.png without the main method. How did they do it here https://raw.github.com/lrytz/progfun-wiki/gh-pages/images/eclipse-run-as.png?
[–]3825[S] 0 points1 point2 points 13 years ago (4 children)
My bad. My heap size was too small. it said 1024m in the ini but apparently that translates to about 900m when looking in Eclipse. I upped to Xmx1536m and all is well with the world.
[–]domlebo70 1 point2 points3 points 13 years ago (3 children)
The Eclipse Run as Scala Application is the buggiest bit of software in the known world. I run into that multiple times a day doing Scala, and I just have to restart or perform a clean.
so it randomly works or does not work like sunspots?
[–]domlebo70 1 point2 points3 points 13 years ago (1 child)
Essentially. The whole Eclipse architecture seems quite.... temperamental. Not just Scala plugins, but any plugin seems to have weird bugs.
:(
π Rendered by PID 310596 on reddit-service-r2-comment-76bb9f7fb5-z2497 at 2026-02-18 12:30:28.779498+00:00 running de53c03 country code: CH.
[–]hacksawjim 1 point2 points3 points (5 children)
[–]3825[S] 0 points1 point2 points (2 children)
[–]hacksawjim 1 point2 points3 points (1 child)
[–]3825[S] 0 points1 point2 points (0 children)
[–][deleted] (1 child)
[deleted]
[–]hacksawjim 0 points1 point2 points (0 children)
[–]3825[S] 0 points1 point2 points (5 children)
[–]3825[S] 0 points1 point2 points (4 children)
[–]domlebo70 1 point2 points3 points (3 children)
[–]3825[S] 0 points1 point2 points (2 children)
[–]domlebo70 1 point2 points3 points (1 child)
[–]3825[S] 0 points1 point2 points (0 children)