Copyright 2016 Dave Gurnell. Text and diagrams licensed CC-BY-SA 3.0. Code samples licensed Apache 2.0
You have three options for grabbing the book:
- read/download the book at the Underscore web site;
- order a print copy from Underscore;
- a french translation is also available.
Accompanying code samples can be found here:
https://github.com/underscoreio/shapeless-guide-code
Check the solutions
branch for complete versions of each example.
Install Docker and use go.sh
to boot an instance
with most of the right dependencies:
bash$ ./go.sh
Then run npm install
to install the remaining dependencies:
npm install
And finally use sbt
to build the book:
sbt pdf
To build a black and white,
print-ready version of the book,
edit src/meta/pdf.yaml
and set
blackandwhiteprintable
to true
.
Then run sbt pdf
as above.
Please raise an issue or submit a PR.
If you submit a PR, make sure to add yourself to
src/pages/intro/constributors.md
!
Thanks to Miles Sabin, Richard Dallaway, Noel Welsh, Travis Brown, and our fellow space-farers on Github for their invaluable help and feedback.