m-ender / retina

A regex-based programming language.
MIT License
231 stars 10 forks source link

Provide addititve identity when taking the sum #82

Open urkerab opened 1 year ago

urkerab commented 1 year ago

Commit 444e816 introduced a bug whereby $.() causes the program to crash because it tries to take the sum of a zero-length list without providing the additive identity.