Conversation
b4ea617 to
38a3846
Compare
|
Now integrates #172 |
nomeata
left a comment
There was a problem hiding this comment.
Nice! In one application of mine I would be interested in a variant of the API where I use .ofStream only once, and can then that to check containsStr multiple time. Of course I can cargo-cult the code in posOfSubstr, but maybe a convenient middle ground works well.
|
Good idea! Do you think |
|
Hmm, actually, looking close at the functions you provide, I think for my needs I’d be happy with what’s there. |
|
I added a few things that you might find useful. This API would be a lot simpler if there was a coercion from |
|
Great, thanks!
Could there be one? |
Co-authored-by: Scott Morrison <scott@tqft.net>
A versatile implementation of the Knuth-Morris-Pratt matching algorithm. --------- Co-authored-by: James <jamesgallicchio@gmail.com> Co-authored-by: Mario Carneiro <di.gama@gmail.com> Co-authored-by: Scott Morrison <scott@tqft.net>
A versatile implementation of the Knuth-Morris-Pratt matching algorithm.