Tag Archives: list

Data.List.Split

Have you ever had a string like this “abc;def;ghijk;lm” and wanted to turn it into a list of strings, like this? ["abc", "def", "ghijk", "lm"] Of course, you could always use a parsing library, or a regular expression library, but … Continue reading

Posted in haskell, projects | Tagged , , , | 2 Comments

List convolutions

On the #haskell IRC channel a week or so ago, cdsmithus asked: An easy (hopefully) question. I have an infinite list. How do I get a list of ordered pairs of stuff from the first list? Several people suggested variations … Continue reading

Posted in haskell | Tagged , , | Leave a comment