Skip to content

Commit

Permalink
Add license and acknowledgements
Browse files Browse the repository at this point in the history
  • Loading branch information
noelwelsh committed Feb 6, 2024
1 parent 0500556 commit 52bf575
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 4 deletions.
2 changes: 2 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ lazy val pages = List(
"preface/conventions.md",
"preface/contributors.md",
"preface/backers.md",
"preface/license.md",
// Intro
"intro/index.md",
"intro/three-levels.md",
"intro/what-is-fp.md",
Expand Down
1 change: 1 addition & 0 deletions src/meta/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ title: "Functional Programming Strategies"
subtitle: "In Scala with Cats"
author: "Noel Welsh"
date: "February 2024"
license: "CC BY-SA 4.0"
tocDepth: 1
copyright: "2022-24"
figPrefixTemplate: "$$i$$"
Expand Down
13 changes: 13 additions & 0 deletions src/pages/preface/contributors.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
## Acknowledgements {-}

No book is an island.
This book wouldn't exist without it's predecessor, *Scala with Cats*.
Everyone involved in creating that book implicitly played some part in this book's creation.
See below for that book's acknowledgements, but in particular I want to highlight my coauthor,
Dave "Lord of Types" Gurnell, without whom that book would not exist and hence neither would this one.

Thanks also to Adam Rosien, who gave me low-key encouragement and put up with my bullshit. Also my wife and children, who put up with even more of my bullshit, and gave me the space to finish this project.
The members of ScalaBridge London and attendees at various training courses acted as experimental subjects for a lot of the material here. Thank you for being willing test subjects; you greatly helped improve the content.
Finally, thanks for the members of the PLT research group who set me on this path over two decades ago and continue to provide inspiration from afar.


### Acknowledgements from Scala with Cats {-}

We'd like to thank our colleagues at Inner Product and Underscore,
our friends at Typelevel,
and everyone who helped contribute to this book.
Expand Down
5 changes: 5 additions & 0 deletions src/pages/preface/license.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## License {-}

This work is licensed under CC BY-SA 4.0. To view a copy of this license, visit [http://creativecommons.org/licenses/by-sa/4.0/](http://creativecommons.org/licenses/by-sa/4.0/)

Portions of this work are based on *Scala with Cats* by Dave Gurnell and Noel Welsh, which is licensed under CC BY-SA 3.0.
2 changes: 0 additions & 2 deletions src/pages/preface/preface.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Preface {-}

## Preface to Functional Programming Strategies {-}

This book in a stop along a journey that started about ten years ago with *Scala with Cats*.
In *Scala with Cats* Dave and I attempted to explain the core type classes found in the Cats library, and their use in building software.
We wrote what I think is a pretty good book, but time and experience showed us that something was lacking.
Expand Down
2 changes: 1 addition & 1 deletion src/templates/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ <h5><a href="http://inner-product.com/contact">Contact</a></h5>
<a href="http://creativecommons.org/licenses/by-sa/4.0/?ref=chooser-v1" target="_blank" rel="license noopener noreferrer" style="display:inline-block;">CC BY-SA 4.0</a>
</p>
<p>
Portions of Functional Programming in Scala with Cats are based on Scala with Cats, by Dave Gurnell and Noel Welsh. Scala with Cats is licensed under <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a>
Portions of this work are based on Scala with Cats, by Dave Gurnell and Noel Welsh. Scala with Cats is licensed under <a href="https://creativecommons.org/licenses/by-sa/3.0/">CC BY-SA 3.0</a>
</p>
</div>
</footer>
Expand Down
4 changes: 3 additions & 1 deletion src/templates/template.tex
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,9 @@

$date$

Copyright $copyright$ $author$. CC-BY-SA 3.0.
Copyright $copyright$ $author$. Licensed under $license$

Portions of this work are based on Scala with Cats, by Dave Gurnell and Noel Welsh. Scala with Cats is licensed under CC BY-SA 3.0.

Artwork by Jenny Clements.

Expand Down

0 comments on commit 52bf575

Please sign in to comment.