MasseGuillaume / ScalaKata

Moved
https://github.com/MasseGuillaume/ScalaKata2
121 stars 3 forks source link

support for print and println #50

Closed adam-singer closed 10 years ago

adam-singer commented 10 years ago

Just started using it. Noticed that return types are printed no ability to access possible console output?

MasseGuillaume commented 10 years ago

I implemented tracing so the println result will be on the same line.

adam-singer commented 10 years ago

k, but currently on http://scalakata.com that is not happening?

MasseGuillaume commented 10 years ago

@financeCoding oh scalakata.com just redirect to codebrew.io for now. I did not deploy Scala Kata yet. It's now just a sbt plugin. You can try with this sample project https://github.com/ScalaKata/Scala99

MasseGuillaume commented 10 years ago

and this is the println code if you are curious. https://github.com/MasseGuillaume/ScalaKata/blob/develop/Eval/macro/src/main/scala/com.scalakata.eval/package.scala#L82 https://github.com/MasseGuillaume/ScalaKata/blob/develop/Eval/macro/src/main/scala/com.scalakata.eval/Annotation.scala#L36

adam-singer commented 10 years ago

Nice! the desugar call is great to have.

MasseGuillaume commented 10 years ago

ty this one was simple to implement :-)