Example Code from the Book

Examples from the book Atomic Scala 2nd Edition by Bruce Eckel & Dianne Marsh. Also includes the necessary code to make it work within Typesafe Activator.

When you download the zip file via the link at the bottom of this page, you’ll get a package with a number of directories. The only one you need to follow the book examples is the directory titled “examples.” You can ignore the rest of the files and directories, which are used by Typesafe Activator.

Within the “examples” directory you will find all the example files from the book, as well as several build scripts (for different platforms and/or shells):

  • Testall.bat for Windows command shell
  • Testall.ps1 for Windows PowerShell
  • Testall.sh for Macintosh and Linux

Full instructions on installation and use are in the book itself.

If you want to use Typesafe Activator instead, simply run the activator
shell script (Macintosh & Linux) or the activator.bat batch file (Windows),
which you will find in the main directory of the unzipped download.

If you discover errors, please report them to:
https://github.com/AtomicScala/atomic-scala-corrections/issues
If you have other problems, please send a note via the Contact Form.

Download Examples

 

Print Friendly
Bookmark and Share