我在Haskell中尝试格式化自己类型列表的输出时遇到了麻烦.
我想要这样的东西:
Make | Model | Years(this is a list) <- this would be the headers if you like
-------------------
Item1 | Item1 | Item1s,Item1s
Item2 | Item2 | Item2s,Items2,Items2
Run Code Online (Sandbox Code Playgroud)
^这将是从我的String String [Int]类型加载的数据.
我怎么在Haskell做这个?