【发布时间】:2011-08-21 05:23:51
【问题描述】:
我在尝试在 Haskell 中格式化我自己类型的列表的输出 a 时遇到问题。
我想要这样的东西:
Make | Model | Years(this is a list) <- this would be the headers if you like
-------------------
Item1 | Item1 | Item1s,Item1s
Item2 | Item2 | Item2s,Items2,Items2
^ 这将是从我的 String String [Int] 类型加载的数据。
我将如何在 Haskell 中执行此操作?
【问题讨论】:
标签: list haskell types pretty-print