modo che io possa fare questo:Giustificazione in un formato con numero variabile di elementi in un elenco
CL-USER> (format t "~80<~a~;~a~;~a~;~a~>~%" "hello" "how are you" "i'm fine" "no you're not")
hello how are you i'm fine no you're not
uniformemente spazi delle 4 corde lungo tutto l'arco di 80 come specificato.
Tuttavia, voglio passare un elenco di stringhe e giustificare quelle invece, in base a quante sono nella lista.
Nessuno di questi lo fanno:
CL-USER> (format t "~{~80<~a~;~>~}~%" '(1 2 3 4 5 6))
1
2
3
4
5
6
CL-USER> (format t "~80<~{~a~;~}~>~%" '(1 2 3 4 5 6))
; Evaluation aborted on #<SB-FORMAT:FORMAT-ERROR {126651E1}>.
; ~; not contained within either ~[...~] or ~<...~>
C'è un modo per fare questo?