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

Conversation

samvher
Copy link
Contributor

@samvher samvher commented Aug 8, 2015

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:

<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 list of 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).

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).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant