Cover of The Haskell Road To Logic, Maths And Programming

The Haskell Road To Logic, Maths And Programming

by Jan van Eijck · first published 2004

20mentions
13recommended by
17HN commenters
2009–2022first – last mentioned

76% recommend24% neutral

Why HN recommends it

Teaches mathematical notation, proof construction and discrete math by working through them in Haskell. Suits programmers who want a gentle route into formal proofs, especially those curious about functional programming.

Summarised by Claude from recommending comments

A book that presents mathematical logic and proof structure using the Haskell functional programming language, and presents Haskell using mathematical logic and proof structure.

Affiliate links. As an Amazon Associate I earn from qualifying purchases.

Mentions per year

50 2007: 0 mentions2008: 0 mentions2009: 1 mention2010: 1 mention2011: 5 mentions2012: 3 mentions2013: 2 mentions2014: 1 mention2015: 3 mentions2016: 0 mentions2017: 0 mentions2018: 0 mentions2019: 0 mentions2020: 1 mention2021: 1 mention2022: 1 mention2023: 0 mentions2024: 0 mentions2025: 0 mentions2026: 0 mentions200720172026

What Hacker News says

  • asolove · Sep 8, 2013 · Recommends

    While there is no "royal road" to mathematics for programmers who don't care about proofs, there is a programmer's road to proofs for those interested in Math. In fact, the book is even called "The Haskell Road to Logic, Maths and Programming" [0]. It covers mathematical notation, proof construction, and lots of interesting portions of discrete math that should be of interest to programmers. And large portions of the results are demonstrated…

    on “Why there is no Hitchhiker’s Guide to Mathematics for Programmers” ↗
  • Adaptive · Oct 18, 2011 · Recommends

    For those interested in learning Haskell, I can recommend the lesser known "Haskell Road to Logic, Maths, and Programming": http://www.amazon.com/Haskell-Logic-Maths-Programming-Comput... It's great to go over old and new math concepts and do so while exploring Haskell.

    on “Why Not Haskell?” ↗
  • lostmypw · Aug 4, 2011 · Recommends

    > My goal is really to add math to my diet, ... I've started reading "The Haskell Road to Logic, Maths and Programming", maybe that's something for you or some other lurker here that would like to improve on math. There is a review [2] that gives an interesting impression on the book. The other ones at amazon might also…

  • stiff · Feb 16, 2012 · Recommends

    There is a really nice book trying to teach exactly this (among other things) called "The Haskell Road To Logic, Maths and Programming": http://www.amazon.com/Haskell-Logic-Maths-Programming-Comput...

    on “Books every self-taught computer scientist should read” ↗
  • s2r2 · May 8, 2010 · Recommends

    http://homepages.cwi.nl/~jve/HR/ Jan van Eijck's »The Haskell Road to Logic, Maths and Programming« does exactly that: it introduces you to mathematical proofs, basic logic issues (including relations) and programming using Haskell. I'd wholeheartedly recommend it to someone who's not yet had much…

    on “Ask HN: What should I learn to become a computer scientist?” ↗
  • jnbiche · Feb 27, 2015 · Recommends

    …and don't want to use the REPL, since the REPL in many ways resembles a powerful calculator (and can be used as such) If you really like the math approach, and grow to appreciate the REPL, give "The Haskell Road to Logic, Maths and Programming" by Doets and van Eijck a try. But no, you can't pick up programming just from reading books without attempting to program. You could pick up a good bit of computer science like that, but not programming.…

    on “Hello, World” ↗
  • alexwestholm · Mar 15, 2011 · Recommends

    I'm curious to get some feedback on what other HNers consider to be the most profoundly insightful books they've read. I picked up The Haskell Road to Logic, Maths and Programming as a result on posts on here and so far it's been one of the most worthwhile coding reads I've ever had. So what about you guys? Other programming books? Business books? Just downright good books? Thanks!

    on “Ask HN: Books that change your way of thinking?” ↗
  • s2r2 · Jun 21, 2010 · Recommends

    http://homepages.cwi.nl/~jve/HR/ I'd recommend this one: The Haskell Road to Logic, Maths and Programming -- would fit best if you'd also have an interest in Haskell/FP, but it's also a good introduction to formal proofs -- might be a bit too basic if you're interested in higher maths, tho, but a good starting…

    on “Ask HN: Recommendation for (re)learning Math Skills” ↗
  • kanak · Mar 25, 2011 · Recommends

    Thank you. I look forward to seeing your patches soon :). There's another book on a similar vein called "Haskell Road to Logic, Maths and Programming" that I intend to tackle in the future. It's a bit more advanced than this book, but if you already know some discrete math, that might be a better place to start.

    on “My notes and complete solutions to "Discrete Mathematics using a Computer"” ↗
  • mhd · Sep 13, 2011 · Recommends

    …read a Scala book that puts a big emphasis on the functional part – and as it's a rather Tim Toady language, it might be better to focus on something simpler or more "pure". I've lost my copy of "The Haskell Road to Logic, Maths and Programming" while moving, but the first few chapters I've read have been pretty great, especially if you also want to close some gaps in your math knowledge.

    on “Ask HN: resources for learning functional languages?” ↗
  • elrzn · Jul 10, 2012 · Recommends

    …for Computer Science (free pdf courses.csail.mit.edu/6.042/fall10/mcs-ftl.pdf) and any Calculus book of your liking. There are also great resources to learn Math using Haskell. I'm working through The Haskell Road to Logic, Maths and Programming and it's proving to be great http://www.haskell.org/haskellwiki/Books_and_tutorials/Mathe...

    on “Ask HN: Learn Math the Hard Way” ↗
  • Jtsummers · Sep 26, 2022 · Recommends

    Interesting. A couple similar books: https://staff.fnwi.uva.nl/d.j.n.vaneijck2/HR/ - The Haskell Road to Logic, Maths and Programming - Uses Haskell, as the title suggests https://mitp-content-server.mit.edu/books/content/sectbyfn/b... - The Structure and Interpretation of Classical Mechanics - Uses Scheme

    on “Learn Physics with Functional Programming” ↗
  • kruhft · Jan 6, 2012 · Recommends

    The Haskell Road to Logic, Maths and Programming is a good place to start.

    on “Free Programming Ebooks” ↗
  • rramadass · Oct 25, 2020 · Recommends

    Yep; see The Haskell Road to Logic, Maths and Programming.

    on “Ask HN: Which general programming language is good for learning/exploring math?” ↗
  • rramadass · Oct 28, 2021 · Recommends

    You may find The Haskell Road to Logic, Maths and Programming interesting.

    on “Ask HN: What language to learn after Python?” ↗

Keyboard shortcuts

/
Focus search
j / k
Next / previous book
Enter
Open focused book
Esc
Close / go back
g h
Go to Home
g t
Go to Top all-time
g m
Go to Most recommended
g r
Go to Rising
g f
Go to For You
?
Show this help