Skip to content

Commit

Permalink
Update site
Browse files Browse the repository at this point in the history
- New text
- Copies of Scala with Cats for the sake of posterity
- Tweak build and gitignore to accommodate these changes
  • Loading branch information
noelwelsh committed Feb 6, 2024
1 parent 2f60b6f commit 1bf61a0
Show file tree
Hide file tree
Showing 6 changed files with 6,623 additions and 17 deletions.
1 change: 0 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ jobs:

- name: Copy book to site
run: |
mkdir site/dist
mv dist/* site/dist
- name: Publish site
Expand Down
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,6 @@ typings/
# nuxt.js build output
.nuxt

# rollup.js default build output
dist/

# Uncomment the public line if your project uses Gatsby
# https://nextjs.org/blog/next-9-1#public-directory-support
Expand Down Expand Up @@ -121,7 +119,7 @@ temp/
# Simple Build Tool
# http://www.scala-sbt.org/release/docs/Getting-Started/Directories.html#configuring-version-control

dist/*
/dist/*
target/
lib_managed/
src_managed/
Expand Down
Binary file added site/dist/scala-with-cats-1.epub
Binary file not shown.
6,592 changes: 6,592 additions & 0 deletions site/dist/scala-with-cats-1.html

Large diffs are not rendered by default.

Binary file added site/dist/scala-with-cats-1.pdf
Binary file not shown.
43 changes: 30 additions & 13 deletions site/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
}
</style>

<title>Scala with Cats</title>
<title>Functional Programming Strategies in Scala with Cats</title>
</head>
<body>
<div class="pt-2 accent"></div>
Expand All @@ -37,20 +37,34 @@
<div class="col-sm-8 pt-4">
<div class="text-center">
<div><img src="part1.png" alt="A cat peering into a cardboard box with a lambda on the side."></div>
<h1 class="dark display-2">Scala with Cats 2</h1>
<h1 class="dark display-2">Functional Programming Strategies in Scala with Cats</h1>
<blockquote class="blockquote dark text-justify">
<p>
Since we released Scala with Cats we've
had a stream of emails asking for two things: a hard copy version
and updates for Cats 2. We're pleased to announce that we're working
on a new edition that will answer both of these requests: it will
cover all the great new stuff in Cats 2, such as the
<code>Parallel</code> type class, and we'll make sure printed copies
are available. Thanks everyone for your support so far, and we hope
you'll enjoy the new edition!
Functional Programming Strategies is the evolution of Scala with Cats.
The goals for this new book include the original goals for Scala with Cats 2, hard copy and updates for Cats 2,
but expands to cover the core concepts and techniques that I've used in building software in Scala for over a decade.
If I'm successful, reading this book should give anyone using Scala, or indeed any related functional language,
the toolkit to build exceptional software.

These changes took the emphasis away from type classes,
and over time I came to feel the old title no longer reflected the content of the book.
Hence a new title was needed.
As the book now focused of the idea of programming strategies,
Functional Programming Strategies was the obvious choice.
The subtitle reflects the heritage of the book, which would not exist without Scala with Cats.

Thanks to everyone who supported Scala with Cats and the new book.
It's been a long journey, but hopefully you'll find it has been worthwhile.
</p>
<footer class="blockquote-footer">Noel and Dave</footer>
<footer class="blockquote-footer">Noel</footer>
</blockquote>

<p><small>Scala with Cats is still available in
<a href="dist/scala-with-cats-1.html">HTML</a>,
<a href="dist/scala-with-cats-1.pdf">PDF</a>,
and,
<a href="dist/scala-with-cats-1.epub">ePub</a>.
</small></p>
</div>
</div>
</div>
Expand Down Expand Up @@ -81,14 +95,17 @@ <h4 class="text-center pb-2">Sign up to the newsletter to stay updated on progre
<div class="row justify-content-center">
<div class="col-sm-8 pt-4">
<h4 class="text-center pb-2">Support the Book</h4>
<p class="text-justify">If you'd like to support Scala with Cats we have a few options for you. Once printed books are available you could purchase a copy (or perhaps one for you and one for a colleague?) If you need help with a Scala project we are available via our consultancies: <a href="https://inner-product.com/">Inner Product</a> in North America and <a href="https://underscore.io/">Underscore</a> in Europe.️</p>
<p class="text-justify">
There are a few options if you'd like to support Functional Programming Strategies.
Once printed books are available you could purchase a copy (or perhaps one for you and one for a colleague?)
If you need help with a Scala project there is a great team available at <a href="https://inner-product.com/">Inner Product</a>.</p>
</div>
</div>

<div class="row justify-content-center">
<div class="col-sm-8 pt-4 pb-4">
<hr class="accent"/>
<p class="text-center small text-muted">Copyright 2020 Noel Welsh. Made with ♥ and Emacs.</p>
<p class="text-center small text-muted">Copyright 2024 Noel Welsh. Made with ♥ and Emacs.</p>
</div>
</div>
</div>
Expand Down

0 comments on commit 1bf61a0

Please sign in to comment.