此函数中演示的内容还包括:将光标转变为不可见,清除屏幕,打印文本,以及返回到保存的光标位置。
Also demonstrated in this function are turning the cursor invisible, clearing the screen, printing text, and returning to the saved cursor location.
接下来的两行代码检索文章日期(从posted列)并使用之前提到的函数将其转变为RFC 3339格式。
The next two lines retrieve the article date (from the POSTED column) and convert it to RFC 3339 format using the aforementioned function.
首先,我们使用Clojure的str函数来将这个char转变为字符串。
First we use the STR function from Clojure to convert the char to a string.
应用推荐