Re: [O] Scala problem in Babel

2017-04-03 Thread Jarmo Hurri
Jarmo Hurri writes: > When I look at the temporary file I see that the code has been > embedded in a wrapper defined in ob-scala.el. I guess it's the wrapper > that messes up the execution of the code. > What is the wrapper for? How am I supposed to use it? Ok, got it by

[O] Scala problem in Babel

2017-04-02 Thread Jarmo Hurri
Greetings. I am illustrating some basic syntactic differences between programming languages to some people. In order to do this I embedded a small Scala program into an Org file #+BEGIN_SRC scala :exports both object Fibonacci extends App { def fib (n : Int) : Int = {