ebook

A print version of Functional Programming, Simplified? alvin October 28, 2017 - 2:16pm

I’m debating about releasing a print version of Functional Programming, Simplified. While pondering that decision, I found this image that shows an approximation of Scala Cookbook digital/print sales that O’Reilly makes available to me.

Functional Programming, Simplified (Kindle sale) alvin October 22, 2017 - 8:46pm

Functional Programming, Simplified” is currently $15 on Amazon. Get it while you can, the price goes back up to $30 Monday night (October 23, 2017).

Functional Programming, Simplified alvin October 21, 2017 - 11:37pm

Dateline October 20, 2017: I’ve renamed my book about Scala and functional programming. The original name was, “Learning Functional Programming in Scala,” but I don’t think that sets the tone of the book quite right, so I renamed it to “Functional Programming, Simplified (Scala edition).”

You can preview and buy the book in two places:

Here’s the new “Rampaging Lambda” book cover:

Functional Programming, Simplified book cover

Functional Programming, Simplified (current contents) alvin October 21, 2017 - 11:41am

As of October 20, 2017, the contents of my book, Functional Programming, Simplified (formerly “Learning Functional Programming in Scala”) can now be summarized like this:

A Scala shell script to read HTML H1 tag attributes

I’m putting this Scala shell script out here as a “source code snippet” so I can find it again if I need it. This file reads an input file that contains a series of HTML <h1> tags. I use this as part of a process of publishing an Amazon Kindle ebook from an HTML file, and in one of the steps of the creation process, I use this script to help create the Table of Contents (TOC) for the book.

Here’s the source code:

Amazon Kindle eBooks: OPF file example

As a quick note today, I’ve been trying to build my own Amazon Kindle eBook using HTML and CSS, and yesterday I learned that I also need an OPF file as part of the process of creating both the eBook and the Table of Contents (TOC).

This morning I found that Amazon has a collection of sample books that you can use with Kindlegen, and the “Guide” project specifically includes the following example OPF file, which is well-documented.

Version 0.1.4 of “Learning Functional Programming in Scala”

Version 0.1.4 of “Learning Functional Programming in Scala” is now available. The latest changes are:

- 13 new chapters on the StateT monad and monad transformers
- Ten new chapters on Domain Modeling
- Two new chapters on ScalaCheck
- New appendices on Anonymous Functions, and using def vs val in traits
- The PDF now has small 113 chapters, four appendices, and is 983 pages long

To accompany this latest update, the book is on sale for a few days.