缩写硬编码长列表

时间:2015-02-09 09:08:53

标签: haskell indentation

背景

我有一个很长的硬编码列表。我希望它跨越多条线。

let partition = [1,1,2,3,5,7,11,15,22,30,42,56,77,101,135,176,231,
                 297,385,490,627,792,1002,1255,1575,1958,2436,3010,
                 3718,4565,5604,6842,8349,10143,12310,14883,17977,
                 21637,26015,31185,37338,44583,53174,63261,75175,
                 89134,105558,124754,147273,173525]

问题

无论我尝试什么缩进,错误仍然存​​在。

parse error (possibly incorrect indentation or mismatched brackets)

0 个答案:

没有答案