diff options
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/library/lux/control/remember.lux | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/stdlib/source/library/lux/control/remember.lux b/stdlib/source/library/lux/control/remember.lux index f4f9c4213..25b595b63 100644 --- a/stdlib/source/library/lux/control/remember.lux +++ b/stdlib/source/library/lux/control/remember.lux @@ -47,7 +47,9 @@ (#try.Failure message) (<>.failure message))))) -(syntax: .public (remember {deadline ..deadline} {message <c>.text} {focus (<>.maybe <c>.any)}) +(syntax: .public (remember [deadline ..deadline + message <c>.text + focus (<>.maybe <c>.any)]) {#.doc (example "A message with an expiration date." "Can have an optional piece of code to focus on." (remember "2022-04-01" @@ -67,7 +69,9 @@ (meta.failure (exception.error ..must_remember [deadline today message focus]))))) (template [<name> <message>] - [(`` (syntax: .public (<name> {deadline ..deadline} {message <c>.text} {focus (<>.maybe <c>.any)}) + [(`` (syntax: .public (<name> [deadline ..deadline + message <c>.text + focus (<>.maybe <c>.any)]) {#.doc (example (~~ (template.text ["A " <message> " message with an expiration date."])) "Can have an optional piece of code to focus on." (<name> "2022-04-01" |