talira

Haskell combinator library for splitting lists on delimiters

open sourceBSD-3-Clausefree

split provides Data.List.Split, a Haskell library with a wide range of strategies and one combinator framework for splitting lists by a delimiter, filling the gap left by Data.List, which has no split function. It depends only on base and is plain Haskell2010.

Problems it solves

  • split a string on a delimiter in Haskell
  • Data.List has no split function in Haskell, what do I use
  • split a list into parts by a separator element in Haskell

Features

  • Split lists on delimiters with many strategies
  • One combinator framework for building splitters
  • No dependencies beyond base
  • Haskell2010 compliant