Cover of The Implementation of Functional Programming Languages

The Implementation of Functional Programming Languages

by Simon L. Peyton Jones · first published 1987

44mentions
22recommended by
33HN commenters
2008–2026first – last mentioned

67% recommend30% neutral3% critical

Why HN recommends it

Accessible, free-to-read walk through compiling lazy functional languages like Miranda and Haskell: lambda calculus, graph reduction, type checking. Suits those building their own language implementation.

Summarised by Claude from recommending comments

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

Mentions per year

50 2007: 0 mentions2008: 1 mention2009: 2 mentions2010: 1 mention2011: 2 mentions2012: 0 mentions2013: 3 mentions2014: 4 mentions2015: 4 mentions2016: 3 mentions2017: 2 mentions2018: 1 mention2019: 1 mention2020: 5 mentions2021: 1 mention2022: 1 mention2023: 1 mention2024: 4 mentions2025: 3 mentions2026: 2 mentions200720172026

What Hacker News says

  • arethuza · Dec 7, 2016 · Recommends

    …did a splendid job of teaching me about lambda calculus back in the 1980s and who really got my attention when he explained about S and K combinators. Another excellent work from that same time is The Implementation of Functional Programming Languages by Simon Peyton Jones which is available online for free: http://research.microsoft.com/en-us/um/people/simonpj/papers... [Edit: I know this is an old work - but I'm very fond of it!]

    on “A Short Introduction to the Lambda Calculus (2004) [pdf]” ↗
  • benbataille · Mar 27, 2013 · Recommends

    While not being exactly about type theory like Pierce books (you can't waste your money on those), I really like the part about types in "The Implementation of Functional Programming Languages" by Peyton Jones (the chapters about type system are written by Peter Hancock). It's seen mostly from a technical point of view. The book notably contains a fully explained implementation of a type checker.…

    on “R, the master troll of statistical languages (2012)” ↗
  • ffreire · Mar 4, 2017 · Recommends

    Simon Peyton Jones' seminal work "Implementation of Functional Programming Languages" is available free of charge now that it's out of print[0]. If you haven't read it yet I'd highly encourage it! [0]: https://www.microsoft.com/en-us/research/publication/the-imp...

    on “Write you a Haskell (2015)” ↗
  • brmgb · Mar 15, 2019 · Recommends

    If you are interested in the subject, The Implementation of Functional Programming Languages by Simon Peyton Jones is actually freely available on his Microsoft Research page : https://www.microsoft.com/en-us/research/publication/the-imp... The book is really great. It starts with a very interesting…

    on “Writing a simple evaluator and type-checker in Haskell” ↗
  • eru · Jan 27, 2010 · Recommends

    …really enjoyed "Modern Compiler Design" (http://www.few.vu.nl/~dick/MCD.html). They also talk about implementing functional languages. And if you already know how to write a lexer and a parser, "The Implementation of Functional Programming Languages" by Simon Peyton Jones is worth reading.

    on “Going back to C” ↗
  • exDM69 · Aug 4, 2011 · Recommends

    …language research in the 1970's and 1980's that is not really used in mainstream programming languages in these days. A good collection of this material can be found in Simon Peyton-Jones' book "The implementation of functional programming languages". Probably out of print (my uni library has one), but freely available on the net, here's the link: http://research.microsoft.com/en-us/um/people/simonpj/papers... It's worth to note that since the Miranda…

    on “Wadler's critique of SICP (1987)” ↗
  • peterkelly · Mar 18, 2013 · Recommends

    …want to create your own language implementation, given the existence of many good lexer/parser generators to which you can just pass in a formal grammar. Another book I also found very useful was "The Implementation of Functional Programming Languages" by Simon Peyton Jones (http://research.microsoft.com/en-us/um/people/simonpj/papers...), though it's mostly of use only if you're specifically interested in functional programming (which is what I've…

    on “Show HN: a lexer, parser, interpreter and web runtime (np, a 5-weekend project)” ↗
  • marshray · Jun 13, 2013 · Recommends

    I think it lacks the property of being "a paper", but I'll happily nominate The Implementation of Functional Programming Languages Simon Peyton Jones, Prentice Hall 1987 http://research.microsoft.com/en-us/um/people/simonpj/papers...

    on “Great Works in Programming Languages” ↗
  • NathanCollins · Jun 19, 2018 · Recommends

    Are you aware of /The Implementation of Functional Programming Languages/ by Simon Peyton Jones, the main person behind the front end of the GHC Haskell Compiler? The full book is available free on his web site as PDF: https://www.microsoft.com/en-us/research/publication/the-imp...…

    on “The sequel to Writing an Interpreter in Go is coming this summer” ↗
  • bakul · Feb 29, 2020 · Recommends

    I learned about Miranda from the appendix of "The Implementation of Functional Programming Languages" 1987 book by Simon Peyton Jones (IIRC one can find a PDF copy online). I liked it a lot though I had no access to its implementation. Glad to know it is now available. Its implementation is small by…

    on “Miranda released as free software” ↗
  • ojnabieoot · Oct 27, 2020 · Recommends

    …personally read this, but I have read the sequel, Advanced Types and Programming Languages. Both books have exercises and most exercises have solutions. Simon Peyton-Jones wrote a very good book, the Implementation of Functional Programming Languages. It is old (1987), but free, a good read, and covers most of the “important” topics without assuming too much background: https://www.microsoft.com/en-us/research/publication/the-imp... For formal verification…

    on “Homotopy Type Theory (2012) [pdf]” ↗
  • eru · Aug 10, 2008 · Recommends

    I like Jones' "The Implementation of Functional Programming Languages" (http://research.microsoft.com/~simonpj/papers/slpj-book-1987...) much more. (Both books do not cover exactly the same topic - but Jones' book has deeper math.)

    on “Niklaus Wirth: Compiler Construction (Addison Wesley book)” ↗
  • RiderOfGiraffes · Jul 25, 2009 · Recommends

    …the same thing, in the same sense that "Lazy Evaluation" is not the same thing as "Non-strict Semantics", but "Term Re-Writing" is closely allied with "Graph Reduction. Simon Peyton-Jones' books "The Implementation of Functional Programming Languages" and "Implementing Functional Languages: a tutorial" are excellent works. Now out of print, they can both be found on-line. The following references also help ... http://www.google.com/search?q=implementing+functional+langu...…

    on “The Pure programming language” ↗
  • arethuza · Apr 6, 2011 · Recommends

    I really liked "The Implementation of Functional Programming Languages" by Simon Peyton Jones, which is available online: http://research.microsoft.com/en-us/um/people/simonpj/papers...

    on “Must Read CS Books For Self Self-Taught Programmers” ↗
  • benbataille · Apr 25, 2013 · Recommends

    …implication and trade-off than it seems (especially let). For people interested in type checkers, there is a couple of really good chapters by written by Peter Hancock in a book available online : The Implementation of Functional Programming Languages by Simon Peyton Jones. They entirely cover the theory and there is a complete implementation in Miranda. Here is the link : http://research.microsoft.com/en-us/um/people/simonpj/papers...

    on ““What part of Milner-Hindley do you not understand?”” ↗

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