Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
What a parser did is to tansfer a "plain text" representation of something to a "structured" representation. In this case, the plain text is a String representing regular expression, and the the structured thing is the data structure that has been defined for you.
Random test failures make me find sorts of bugs in parsers I had wrote earlier. Nice kata!
I write this by analog the imperative algorithm, but I don't understand this in Monad. What should I think of monads as?
Interesting kata with instructive hints! Thank you.
sorry for this gross code v^v
This is generally known as a recursive descent parser and I'd say it's a good way to do things
Thanks, it's accually the only solution I can figure out when before checked the solusions. LOL
I like the parser-like rules approach and minimal boilerplate. Nice job using only 2 headers!