Skip to content

Consider renaming function Count #7

Description

@marco-m

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().

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions