是否有一種方法可以在Common Lisp中將整數解析爲它們的char等價物?將整數轉換爲Common Lisp中的字符
我一直在找了整整一上午,才找到char-int
...
* (char-int #\A)
65
一些其他來源還聲稱的int-char
* (int-char 65)
; in: INT-CHAR 65
; (INT-CHAR 65)
;
; caught STYLE-WARNING:
; undefined function: INT-CHAR
;
; compilation unit finished
; Undefined function:
; INT-CHAR
; caught 1 STYLE-WARNING condition
debugger invoked on a UNDEFINED-FUNCTION:
The function COMMON-LISP-USER::INT-CHAR is undefined.
Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.
restarts (invokable by number or by possibly-abbreviated name):
0: [ABORT] Exit debugger, returning to top level.
("undefined function")
的所有腦幹我真正要找的,但是,是一種將1
轉換爲#\1
的方法
我到底該怎麼做?