list-zip-def: Provides zips where the combining doesn't stop premature, but instead uses default values.

[ data, library, public-domain ] [ Propose Tags ]

Zip multiple lists together, but don't loose any information. No need to inefficiently check the lengths before and nothing gets evaluated until you reach it in the result list.


[Skip to Readme]

Modules

[Index]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.0.3
Dependencies base (>=4.7 && <4.9) [details]
License LicenseRef-PublicDomain
Author Moritz Bruder
Maintainer muesli4@gmail.com
Category Data
Source repo head: git clone https://github.com/muesli4/list-zip-def.git -b master
Uploaded by muesli4 at 2015-11-30T23:36:35Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 2434 total (12 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2015-12-04 [all 1 reports]

Readme for list-zip-def-0.1.0.1

[back to package description]

list-zip-def

Provides zip functions that use a given default value, whenever one list is exhausted, but not all.

Prelude> import Data.List.Zip
Prelude Data.List.Zip> zipDef 0 'x' [1, 2, 3] "a"
[(1,'a')(2,'x')(3,'x')]