The Type Astronaut's Guide to Shapeless
Reading the Book
You have three options for grabbing the book:
- grab an up-to-date PDF from dist/shapeless-guide.pdf (free);
- download the book from Underscore (also free) and get notified of future updates by email;
- order a print copy from Underscore.
- a french translation is also available
Accompanying code samples can be found here:
solutions branch for complete versions of each example.
Building the eBook
Install Docker and use
go.sh to boot an instance
with most of the right dependencies:
npm install to install the remaining dependencies:
And finally use
sbt to build the book:
Building a printable book
To build a black and white,
print-ready version of the book,
src/meta/pdf.yaml and set
sbt pdf as above.
Please raise an issue or submit a PR.
If you submit a PR, make sure to add yourself to
Thanks to Miles Sabin, Richard Dallaway, Noel Welsh, Travis Brown, and our fellow space-farers on Github for their invaluable help and feedback.