廢到有剩 Macro: comment
source link: https://dannypsnl.github.io/blog/2020/10/07/cs/comment-macro/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
我發現真正重要的內容通常需要長時間修改、反覆拿出來閱讀,所以目前的形式越來越不適合。因此以後 blog 這邊會逐漸廢人化,只有無聊透頂的技術相關或是日常才會發這裡 www。舉例: 這在 racket 裡定義了一個什麼也不會做的語法,可以充當註釋廢到有剩 Macro: comment
Email: [email protected]
GitHub: @dannypsnl
Twitter: @dannypsnl
Programming Language Theory • System Programming
廢到有剩 Macro: comment
我發現真正重要的內容通常需要長時間修改、反覆拿出來閱讀,所以目前的形式越來越不適合。因此以後 blog 這邊會逐漸廢人化,只有無聊透頂的技術相關或是日常才會發這裡 www。舉例:
(define-syntax-rule (comment ...) (void))
這在 racket 裡定義了一個什麼也不會做的語法,可以充當註釋
(comment give me money QAQ)
author: Lîm Tsú-thuàn/林子篆/Danny
category:cs
tag:racketmacro
Similar Articles
All works in this site is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK