你如何打破长期计划串线?
-
18-09-2019 - |
题
例如,我想打破在下面的恐慌声明一长串:点击
(panic "Truth-assignment length is longer than the number of propositions!")
搜索结果
我曾尝试点击
(panic "Truth-assignment length is longer than the number \
结果
of propositions!")
搜索结果
和结果
(panic "Truth-assignment length is longer than the number
结果
of propositions!")
搜索结果
他们都不起作用。谷歌搜索还没有翻起任何任一。
解决方案
在使用字符串追加内置IDE中的格式:
(panic (string-append "Truth-assignment length is longer "
"than the number of propositions!"))
其他提示
不是所有的计划规范定义的方式打破长字符串。在回答你的问题取决于你所使用的计划。我相信R6RS包括像你尝试的第一个方法。其他人可能并不提供这样的选项,迫使你要么减少你的字符串的长度,有很长的线,或用较小的字符串使用字符串追加。
看一看这些链接: http://www.mail-archive.com/ r6rs-discuss@lists.r6rs.org/msg01810.html http://practical-scheme.net/gauche/ (搜索2008年2月13日)
不隶属于 StackOverflow