|
Packit |
2632c6 |
|
|
Packit |
2632c6 |
Data.List.Split provides a wide range of strategies and a unified
|
|
Packit |
2632c6 |
combinator framework for splitting lists with respect to some sort of
|
|
Packit |
2632c6 |
delimiter.
|
|
Packit |
2632c6 |
|
|
Packit |
2632c6 |
------------------------------------------------------------------------
|
|
Packit |
2632c6 |
|
|
Packit |
2632c6 |
Dependencies:
|
|
Packit |
2632c6 |
|
|
Packit |
2632c6 |
There are no dependencies other than the base package.
|
|
Packit |
2632c6 |
Data.List.Split has been tested with versions of GHC from 6.8.3 up
|
|
Packit |
2632c6 |
through 8.0.1. It is completely Haskell2010 (probably also
|
|
Packit |
2632c6 |
Haskell98) compliant, so it probably builds with other compilers as
|
|
Packit |
2632c6 |
well.
|
|
Packit |
2632c6 |
|
|
Packit |
2632c6 |
The Properties.hs file depends on QuickCheck >= 2.4, but you don't
|
|
Packit |
2632c6 |
need it in order to build the library itself, only to run the tests.
|
|
Packit |
2632c6 |
|
|
Packit |
2632c6 |
Build with Cabal:
|
|
Packit |
2632c6 |
|
|
Packit |
2632c6 |
cabal install
|
|
Packit |
2632c6 |
|
|
Packit |
2632c6 |
Building Haddock documentation (recommended):
|
|
Packit |
2632c6 |
|
|
Packit |
2632c6 |
cabal haddock
|
|
Packit |
2632c6 |
|
|
Packit |
2632c6 |
Once the documentation has been built, you can access it by
|
|
Packit |
2632c6 |
pointing your browser to dist/doc/html/split/index.html.
|
|
Packit |
2632c6 |
|
|
Packit |
2632c6 |
Running the tests:
|
|
Packit |
2632c6 |
|
|
Packit |
2632c6 |
cabal configure --enable-tests && cabal build && cabal test
|