系列包中的#M派发功能如何使用?
How to use the #M dispatch function in the series package?
我正在尝试了解 series
library and am studying the examples in the CL Cookbook
的基础知识
但如果我尝试评估其中一个示例
SERIES> (collect
(#Mlist (scan '(a b c))
(scan '(1 2 3))))
我从 SBCL 2.03
得到以下错误:
no dispatch function defined for #\M
Line: 2, Column: 15, File-Position: 23
Stream: #<SB-IMPL::STRING-INPUT-STREAM {1004122F53}>
[Condition of type SB-INT:SIMPLE-READER-ERROR]
我使用 quicklisp
加载了 series
,但没有找到应该定义调度函数 #M
的位置。有人可以给我提示吗?
Reader 通常需要显式启用库的宏。
根据发行说明:
You can use SERIES::INSTALL for "use-package"ing Series in a way that
extended special forms are shadow-import'ed and reader macros are
installed.
我不确定为什么不导出。
我还没有找到系列的 named-readtables
定义,但我猜有人已经这样做了。
我正在尝试了解 series
library and am studying the examples in the CL Cookbook
但如果我尝试评估其中一个示例
SERIES> (collect
(#Mlist (scan '(a b c))
(scan '(1 2 3))))
我从 SBCL 2.03
得到以下错误:
no dispatch function defined for #\M
Line: 2, Column: 15, File-Position: 23
Stream: #<SB-IMPL::STRING-INPUT-STREAM {1004122F53}>
[Condition of type SB-INT:SIMPLE-READER-ERROR]
我使用 quicklisp
加载了 series
,但没有找到应该定义调度函数 #M
的位置。有人可以给我提示吗?
Reader 通常需要显式启用库的宏。
根据发行说明:
You can use SERIES::INSTALL for "use-package"ing Series in a way that extended special forms are shadow-import'ed and reader macros are installed.
我不确定为什么不导出。
我还没有找到系列的 named-readtables
定义,但我猜有人已经这样做了。