Logo

Programming-Idioms

History of Idiom 184 > diff from v24 to v25

Edit summary for version 25 by coredump:
[Lisp] originally this did not assign to a variable

Version 24

2020-04-29, 11:48:39

Version 25

2020-04-29, 11:50:32

Idiom #184 Tomorrow

Assign to variable t a string representing the day, month and year of the day after the current date.

Idiom #184 Tomorrow

Assign to variable t a string representing the day, month and year of the day after the current date.

Imports
(ql:quickload :chronicity)
Imports
(ql:quickload :chronicity)
Code
(chronicity:parse "tomorrow")
Code
(setf _t (chronicity:parse "tomorrow"))
Comments bubble
this assumes that "t" is lexically bound in the scope of the expression