haskellfoundation / HaskellSchool

Apache License 2.0
50 stars 11 forks source link

Start Pasers Combinators lesson #44

Open blackheaven opened 2 years ago

blackheaven commented 2 years ago

Submitter checklist

TrueBoxGuy commented 2 years ago

Thank you very much for your contributions: I'd be happy to review this PR 🙂.

blackheaven commented 2 years ago

Is there anything I can do to make it merged?

Kleidukos commented 2 years ago

I can take a look early next week :)

blackheaven commented 2 years ago

I'll be grateful, I take any feedback.

TrueBoxGuy commented 2 years ago

I am very sorry for having you wait so long.

I was slightly busier than expected and I pushed your PR further back in my mind than I should have.

I mainly ensure contribution to the style guide on the parts of the PR where relevant (my review may seem a little repetitive).

blackheaven commented 2 years ago

No worries, I may be involved in the security track, and I'll try to be focused on that, sorry for the sudden wake up.

I'll handle your feedback later today, thanks.

TrueBoxGuy commented 2 years ago

Was the recent commit made as the result of some external review (e.g. conducted on Slack) or just on your own?

I think it's extremely useful to know how you desire your articles to be used and it is useful for those learning Haskell to see how library code is written. It's been slightly difficult for me to review any of the other more technical articles, but it has been on my mind this time. Given my main role is reviewing grammar and I don't have much knowledge of parsers, it's quite hard to review an article that's mainly code. However, what I could perhaps do, in absence of this knowledge, is learn about one of the simpler libraries, and then give some advice about any changes that could be made to articles (structurally / gramatically) to have them better serve the purpose you want, to be applied to the other articles in general. Would that work?

I'm also able to call for however long if you want over the next week, but I'd rather learn a bit about the libraries first to make use of a call.

blackheaven commented 2 years ago

You're right, I had a quick chat with someone (I'm not sure they want to be mentioned) to clarify the targeted audience.

You're also right about the structure of the contribution (mostly code), which might not be useful.

I'll have another look at it, so it will be more helpful for beginners, going more in depth of each piece of code.

TrueBoxGuy commented 2 years ago

I had a small look over the ReadP markdown file and I think the following would be useful in achieving the goal of showing beginners some common Haskell idioms:

I think the order in which you introduce ReadP's constructs is quite good: the main thing that's needed is a little more explicit explanation of the idioms for beginners.