Created
December 19, 2016 11:53
-
-
Save zhouqiang-cl/41800cead0f8db719ac079f33aeabee8 to your computer and use it in GitHub Desktop.
common lisp 的函数 CHAR-NAME
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
语法 | |
char-name character => name | |
参数和值 | |
character --- 一个 character | |
name --- 一个 string 或 nil | |
描述 | |
返回 character 的 name, 如果 character 没有 name, 则返回 nil | |
代码 | |
* (char-name #\ ) | |
"Space" | |
* (char-name #\Page) | |
"Page" | |
* (char-name #\a) | |
"LATIN_SMALL_LETTER_A" | |
* (char-name #\A) | |
"LATIN_CAPITAL_LETTER_A" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment