nitely / nim-regex

Pure Nim regex engine. Guarantees linear time matching
https://nitely.github.io/nim-regex/
MIT License
225 stars 20 forks source link

Fix for latest's Nim stricter effect tracking #110

Closed planetis-m closed 2 years ago

planetis-m commented 2 years ago

Ready

nitely commented 2 years ago

out of curiosity, what if replace did raise an error? is there a way to say "raises XYZ + by function exceptions? or more broadly my function effects + the passed function effects?

nitely commented 2 years ago

I'll merge it once tests pass (if I don't, please ping me)

ringabout commented 2 years ago

Thank you! I hope a tag will come soon.

Araq commented 1 year ago

out of curiosity, what if replace did raise an error? is there a way to say "raises XYZ + by function exceptions? or more broadly my function effects + the passed function effects?

Then you leave out the .raises:[] part.