小编Wil*_*nes的帖子

Haskell string manipulation

I am trying to create a function that combines strings given a list of Integers. For example, say the function was given [1,2,3], then the output would be " ***". Basically, each number represents a * with spaces before it. So the number 5 would be " *" which is 4 spaces followed by the *. However, I am given a list and I can't just ++ them all together because the strings mess up the order. …

haskell functional-programming

4
推荐指数
1
解决办法
78
查看次数

标签 统计

functional-programming ×1

haskell ×1