Running the code examples on my blog

Someone asked how you run the code examples on my blog.

I have started using gisthub to store the entire blog, including code.

To run the code, simple go to the gisthub. Cut and paste the code into a file.

Then run it through the scala REPL. I do

scala -cp ./scalaz-core_2.10-7.1.0-M2.jar  yourFile.scala

Where yourFile.scala is the file that you save the cut and paste into.


Popular posts from this blog

zio layers and framework integration

typescript and react types

dotty+scala.js+async: interesting options