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.

Comments

Popular posts from this blog

zio and refilling a cache

quick note on scala.js, react hooks, monix, auth

attributes with react and typescript.md