FORMAT-SYMBOL does not accept a FORMATTER
CL-USER> (alexandria:format-symbol :keyword (formatter "~A~A") "FOO" "BAR")
Error: #<FUNCTION "fmt$~A~A" {52DB3B8B}> is not a string designator.
[Condition of type SIMPLE-TYPE-ERROR]
I claim that a formatter should be accepted in order to preserve the semantics of FORMAT
.
The simple fix is to remove the STRING
call inside the body of FORMAT-SYMBOL
.