"Hans Nowak" <wurmy@earthlink.net> writes: > This may be a minor issue, but this proposal will break code like > > days_feb = 28 + isleapyear(year) > > assuming that booleans cannot be added to ints. :-) Under the proposal, this assumption is wrong. bool is defined as a subtype of int; 28+True is 29. Just try this code with the reference implementation given in your code. Regards, Martin
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4