Pure functions are not new. This isn't a new concept by any means at all, and this certainly isn't the first post anyone has written about them. ...
For further actions, you may consider blocking this person and/or reporting abuse
Nice.
A curried version of
isOverLimit
would be even nicer though. Then you could defineisOverGoldLimit = isOverLimit(1000)
Sure, but the example would be more complicated for anyone who isn't familiar with basic FP concepts, and this was intentionally as basic as possible. :-)
Good point :-)