list-grouping: Functions for grouping a list into sublists
      Deprecated
       in favor of split
    
    
    Functions for grouping a list into sublists based on predicate or integer offsets.
NOTE: THIS MODULE IS DEPRECATED. PLEASE TRY THE split PACKAGE INSTEAD
http:/hackage.haskell.orgpackage/split-0.1.3
Grouping a list based on integer offsets:
splitEvery 3 [1..10] == [[1,2,3],[4,5,6],[7,8,9],[10]] splitWith [1,3,1,3] [1..10] == [[1],[2,3,4],[5],[6,7,8],[9,10]] splitWithDrop [1,3,1,3] [1..10] == [[1],[2,3,4],[5],[6,7,8]]
Grouping based on a predicate:
breakBefore odd [2..9] == [[2],[3,4],[5,6],[7,8],[9]] breakAfter odd [2..9] == [[2,3],[4,5],[6,7],[8,9]] breakDrop odd [0,0,0,1,0,1,1,0,0] == [[0,0,0],[0],[0,0]]
Please send me any comments, requests or bug reports
Downloads
- list-grouping-0.1.1.tar.gz [browse] (Cabal source package)
 - Package description (as included in the package)
 
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
 
| Versions [RSS] | 0.1, 0.1.1 | 
|---|---|
| Dependencies | base (<5) [details] | 
| Tested with | ghc ==6.8.2 | 
| License | BSD-3-Clause | 
| Copyright | (c) 2009, Brandon Simmons <brandon.m.simmons@gmail.com> | 
| Author | Brandon Simmons | 
| Maintainer | Brandon Simmons <brandon.m.simmons@gmail.com> | 
| Category | Data | 
| Home page | http://coder.bsimmons.name/blog/2009/08/list-grouping-module-released/ | 
| Uploaded | by BrandonSimmons at 2011-02-13T19:23:41Z | 
| Distributions | NixOS:0.1.1 | 
| Reverse Dependencies | 1 direct, 0 indirect [details] | 
| Downloads | 2142 total (3 in the last 30 days) | 
| Rating | (no votes yet) [estimated by Bayesian average] | 
| Your Rating | |
| Status | Docs uploaded by user Build status unknown [no reports yet]  |