Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small code fixes and some textual edits #69

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Small code fixes and some textual edits #69

wants to merge 1 commit into from

Commits on Aug 8, 2015

  1. Small code fixes and some textual edits

    The code needs some minor changes to compile if copy-pasted from the text.
    
    I assumed that I could use the following to both slice and insert code at the same time, if that doesn't work there is a problem with my commit:
    ~~~~ {.haskell slice="src/parsers/parsec.hs" lower=5 upper=15}
    <code here>
    ~~~~
    
    I was (/am) a bit confused by the output of parse being a list of tuples while everywhere we seem to deal with a single tuple or the empty list. I hypothesized why this would be and added that to the text but I'm not sure it's correct.
    
    In a couple of places the code seems clipped, often a line at the beginning is missing which seems like it should be there. However, the numbers given in the slice do seem to correspond to the numbers I see when I look up the source. I'm not sure what's going wrong here (no changes made on this).
    samvher committed Aug 8, 2015
    Configuration menu
    Copy the full SHA
    abe3392 View commit details
    Browse the repository at this point in the history