tdammers / ginger

A Haskell implementation of the Jinja template language.
MIT License
77 stars 13 forks source link

Add divisibleBy, even, odd and many aliases built-in functions #27

Closed wchresta closed 6 years ago

wchresta commented 6 years ago

Implemented even and odd.

The edge cases were implemented as follows:

even(2) = 1
even("2") = 1
even("3") = 
even("two") =