0
我从F#的背景来了,我想“缺点”的项目上像这样的列表...不能“缺点”的榆树名单
直接在REPL .. 。
model = {things = []}
morethings = model.things :: "anything"
但是编译器说这个..
(::) is expecting the right side to be a:
List (List String)
But the right side is:
String
这是这样一个简单的事情,我一定是失去了一些东西根本。为什么我不能将新字符串添加到该字符串列表中?
现在好了,我觉得很傻:-) – Stimul8d