Split a string by a chosen character in haskell

前端 未结 3 1502
北恋
北恋 2021-01-24 04:58

I\'m trying to split a string every time there is a chosen character. So if I receive \"1,2,3,4,5\", and my chosen character is \",\" the result is a l

3条回答
  •  余生分开走
    2021-01-24 05:25

    ‘Data.List.Split’ is not in prelude and needs to be installed as a dependency package. Install command depends on environment you are using: ‘stack install split’ for stack ‘cabal install split’ for cabal

提交回复
热议问题