我有这段使用JavaScript在浏览器上工作的代码片段:
document.querySelectorAll('[rel="next"]');
它返回一个数组,取决于当前网页是否为空或填充。
我试图在函数内部使用Parenscript进行翻译:
(ps:chain document query-selector-all ...)
我无法弄清如何将[rel="next"]
的位置作为函数调用的参数进行翻译。能否给一个提示?
注意:我正在使用Common Lisp/SBCL。