‹ BackHN Continuity

Thread

What I did at Recurse Center

133 points · 43 comments · bingden

  1. rtpg · · focus · HN ↗
    > This included what was probably the most interesting part, writing the tricky recursive code to implement the match statement.

    Back in school I found this book[0], "The Implementation of Functional Programming Languages". Flipping through it was very neat because it kinda demystified the nuts and bolts of implementing the "fancier" functional programming features for me.

    Chapter 5 is about implementing pattern matching.

    You read this kind of stuff and realize how easy things become when you just tackle a problem with the right mindset and abstractions. And this is a book from 1987! We've always had decent answers for a lot of the stuff.

    I think it's interesting to flip through if you're a language implementer, though helps to be comfortable with reading some stuff sideways and not understanding every detail.

    [0] <a href="https:&#x2F;&#x2F;simon.peytonjones.org&#x2F;assets&#x2F;pdfs&#x2F;slpj-book-1987-searchable.pdf" rel="nofollow">https:&#x2F;&#x2F;simon.peytonjones.org&#x2F;assets&#x2F;pdfs&#x2F;slpj-book-1987-sea...

    1. jan_m_savage · · focus · HN ↗

      [dead]

      1. vasco · · focus · HN ↗
        In a completely unrelated thread to the topic you wrote the word porn 5 times. Are you sure it&#x27;s the neighbours you need to worry about?
        1. jan_m_savage · · focus · HN ↗
          None of what I write is unrelated; if I wrote, there must have been a connection. Perhaps you can&#x27;t read?
          1. vasco · · focus · HN ↗
            Indeed there must be a connection, which is why I advised you to look inwards!
            1. jan_m_savage · · focus · HN ↗
              And you haven&#x27;t? You must be a saint, then.
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.