3 ms·
I know I shouldn't but I can't help it: ;; format magic (format t "~[~;All the rage!~;Worst product e-v-e-r~; ~]" day) ;; a little less magic (format t
by omouse 18y ago
I know I shouldn't but I can't help it:
;; format magic
(format t "~[~;All the rage!~;Worst product e-v-e-r~; ~]" day)
;; a little less magic
(format t "~A" (case day
(1 "All the rage!")
(2 "Worst product e-v-e-r")
(3 " ")))
Yay for Common Lisp!