gpt4 book ai didi

lisp - Racket 中的管道字符有什么作用?

转载 作者:太空宇宙 更新时间:2023-11-03 18:41:02 24 4
gpt4 key购买 nike

读者以一种特殊的方式解释|,但是我找不到关于它的任何文档。有谁知道这个符号对 Racket 意味着什么?

最佳答案

查看 Racket 语法:

http://docs.racket-lang.org/reference/reader.html

| starts a subsequence of characters to be included verbatim in the delimited sequence (i.e., they are never treated as delimiters, and they are not case-folded when case-insensitivity is enabled); the subsequence is terminated by another |, and neither the initial nor terminating | is part of the subsequence.

例如 1.3.2 阅读符号。

关于lisp - Racket 中的管道字符有什么作用?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15992508/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com