This repo follows loosely along the so-called “redbook”. There is probably nothing new, just personal notes on the exercises. The unspoken goal is to bend some exercises into the more abstract ZIO field which is on my learning list for far too long. We’ll see, if I succeed I’ll write a blog post about it:)
This repo will contain most work from the original repo: https://github.com/fpinscala/fpinscala. This repo is written Scala 2!
Reference: https://www.scala-sbt.org/1.x/docs/Running.html
command | effect |
---|---|
project <target> | switch to <target> f.e. exercises |
clean | Deletes all generated files (in target) |
compile | compile workspace |
test | compiles and run all tests |
console | running repl; :quit exit |
run | select runnable pieces and run them |
reload | reload build definiton |
help <command> | help messages |
Reference: https://ammonite.io/ Emacs mode: https://github.com/zwild/ammonite-term-repl
emacs command | effect |
---|---|
ammonite-term-repl | run REPL |
ammonite-term-repl-send-defun | send defun at point |
ammonite-term-repl-send-region | send region at point |
ammonite-term-repl-load-file | load a file to REPL |