Salut Théo,
consider:
// Count runs the provided parser `count` times.
func Count()...
Although I am not a native English speaker, I think that the name Count in this case is misleading. I read it as "count the number of occurrences of something and give me back the result", that is, as a verb in the imperative tense.
According to the documentation, I would call it something like ApplyN().
Salut Théo,
consider:
Although I am not a native English speaker, I think that the name
Countin this case is misleading. I read it as "count the number of occurrences of something and give me back the result", that is, as a verb in the imperative tense.According to the documentation, I would call it something like
ApplyN().