Add CTFP as a book suggestion #2975
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I want to suggest adding "Category Theory for Programmers" to OCaml.org's book list page. I created a new file that supplies most of the properties of this book you need for your website (the subject of this pull request).
Category Theory for Programmers by Bartosz Milewski is a one-of-a-kind book that is primarily targeted at Haskell developers, but the book is available with OCaml, Reason, and Scala versions as well.
The Haskell version is available for sale as a hardback, but it is also offered for free as a pdf. The Scala version is available for sale as a softcover. Unfortunately, the free OCaml, Reason, and Scala pdfs are only available through a github repo that require the reader build each version of the book with Nix :(
Additionally, I found a few errors in the OCaml and Reason code snippets that I submitted a pull request fixes for, but they have not been review and merged.
For your consideration of this book (both the OCaml and Reason versions) to be added to OCaml.org/books, here is a link to my Google Drive pointing to pre-built Haskell/OCaml and Haskell/Reason versions of the books. This pdfs at these links have my code snippet fixes applied:
You can also build this yourself (without my pull request fixes) at:
You can view my pull request here:
In regards to the
ocaml.org/data/books/category-theory-for-programmers.mdfile, I could not find a summary of this book online that is suitable for the summary section your .md book files. It might exist, but I couldn't find it. Furthermore, I don't want to mock one up either for fear it might be published on OCaml.org and it not being approved by Milewski.A potential issue with this book is that to get the OCaml and Reason versions it requires a reader to clone the book's github repo and build the book using Nix (as well as Nix's 'experimental'
flakeandnix-commandfeatures). This is a bit of a chore and may not be something OCaml.org wishes its audience have to do.Additionally, here is my Google Drive jpeg of the cover you can use for the website, but it is also findable using google images:
I think this book would be a great addition to OCaml.org's books page. It fills a very specific niche that no other book does, and it has relevant OCaml and Reason variants.
If you agree and wish to post this book, here potential options:
In addition to asking for permission from Milewski to host the OCaml and Reson versions on your site, Milewski can be asked for a summary of the book.