相关疑难解决方法(0)

Haskell中的格式列表输出?

我在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做这个?

haskell types list pretty-print

7
推荐指数
3
解决办法
5757
查看次数

标签 统计

haskell ×1

list ×1

pretty-print ×1

types ×1