Fix a typo in README.md (exp→expr)

This commit is contained in:
Juhani Haverinen 2016-08-25 23:17:38 +03:00
parent 258a578cb7
commit 2e8fed156d
1 changed files with 3 additions and 3 deletions

View File

@ -30,9 +30,9 @@ Dates are given as year-month-day, weeks as year-week. Weekdays use the three-le
While `date` checks that the date is in a given range (both ends inclusive), `week` and `weekday` check if the date is in a given week or given weekday. Thus, `(weekday mon wed)` only checks if the weekday is monday or wednesday, not if it's tuesday.
(and [exp1 expr2 expr3 …])
(or [exp1 expr2 expr3 …])
(not [exp1 expr2 expr3 …])
(and [expr1 expr2 expr3 …])
(or [expr1 expr2 expr3 …])
(not [expr1 expr2 expr3 …])
(if condition expr)
`and`, `or`, and `not` all take a variable amount of parameters. `and` checks that all are true, `or` that at least one is true, and `not` that none are true. All of these can be run with zero parameters, in which case `and` and `not` return true and `or` returns false.