IUCompilerCourse / Essentials-of-Compilation

A book about compiling Racket and Python to x86-64 assembly
1.27k stars 137 forks source link

Small mismatch between text and code in section 1.3 (Pattern Matching) #142

Closed jryans closed 1 year ago

jryans commented 1 year ago

Thanks for all your work on this book, it's a great resource! 😄

I'm starting to read through it now, and I noticed what seems like a small mismatch between the text and code in section 1.3 (Pattern Matching). The text below says four alternatives and four clauses, but the concrete syntax and match invocation seem to each have five items.

https://github.com/IUCompilerCourse/Essentials-of-Compilation/blob/e0bf9a4e6b17a315720cc1703fd69bce9bc5c890/book.tex#L1238-L1240

image

image

jsiek commented 1 year ago

Thanks! Fixed.