Untyped chapter has out of order material
reinh opened this issue · comments
Stephen, wonderful work here!
The Untyped chapter includes a section on pretty printing but some of the material relating to pretty printing appears earlier, at the end of the Reduction section, and seems out of order.
Indeed, the pretty printer section wasn't moved properly.
I reflowed the section on the Untyped Lambda Calculus, hopefully it makes more sense now.
https://github.com/sdiehl/write-you-a-haskell/blob/master/lambda_calculus.md
Unfortunately, the phrase "The p
variable will indicate our depth within the current structure" is now somewhat confusing as p
seems to refer to "class Pretty p where
".
I've submitted #15 to address this. Please feel free to use all, some, or none of my changes.