vapor / template-kit

📄 Easy-to-use foundation for building powerful templating languages in Swift.
MIT License
46 stars 17 forks source link

add modulo (%) infix operator #19

Closed grundoon closed 6 years ago

grundoon commented 6 years ago

We're working with Doubles here, so as long as people use sane values it should work as they expect (according to Apple).

NOTE: Because I screwed up in not pre-branching, this should probably be merged before https://github.com/vapor/template-kit/pull/18 so as not to create a conflict with TemplateData or TemplateDataEncoderTests.

penny-coin commented 6 years ago

Hey @grundoon, you just merged a pull request, have a coin!

You now have 43 coins.