montylang / monty

Language from a parallel universe where Python is functional
https://montylang.github.io/docs/
BSD 3-Clause "New" or "Revised" License
5 stars 0 forks source link

Boolean and comparative operator precedence is backwards. #27

Closed WolfeCub closed 3 years ago

WolfeCub commented 3 years ago

Here's an example

len(s) > 0 and s.foldl(True, (acc, it): acc and isDigit(it))

and has higher priority than >