我想将块转换为像这样的字符串
>> b: [field "field1" tab field "field2"]
== [field "field1" tab field "field2"]
>> head remove back tail (remove mold b)
== {field "field1" tab field "field2"}
>>
有比这更好的语法吗?
感谢。
答案 0 :(得分:2)
模具/仅应该可以解决问题:
b: [field "field1" tab field "field2"]
mold/only b
== {field "field1" tab field "field2"}