如标题,如果我这样做
(read-string (slurp "somefile"))
这只会给我文件中的第一个对象,这意味着如果“somefile”如下所示:
(a obj) (b obj)
然后我只得到 (a obj) 作为结果。
我如何获得所有对象的列表,像这样?
((a obj) (b obj))
谢谢。
如标题,如果我这样做
(read-string (slurp "somefile"))
这只会给我文件中的第一个对象,这意味着如果“somefile”如下所示:
(a obj) (b obj)
然后我只得到 (a obj) 作为结果。
我如何获得所有对象的列表,像这样?
((a obj) (b obj))
谢谢。