I’m hand-typing the code from the pdf. I know it would be easier if I used the .lhs file from github, but I’d like to make sure I read and understand the code first. Reading the .lhs file hurts my eyes due to formatting issues in Emacs.
Here you go. Made via vim command:
ggqqqqqV/begin.code<ENTER>d/end.code<ENTER>O<ESC>j@qq@q<ESC>kdG
Thanks! Wow, that was simple :)
You might want to write a quick script to remove all of the comments from the LHS file and turn it in to a regular old Haskell file.
I’m hand-typing the code from the pdf. I know it would be easier if I used the .lhs file from github, but I’d like to make sure I read and understand the code first. Reading the .lhs file hurts my eyes due to formatting issues in Emacs.
Here you go. Made via vim command:
Thanks! Wow, that was simple :)
You might want to write a quick script to remove all of the comments from the LHS file and turn it in to a regular old Haskell file.