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]




Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Versions [RSS],,,
Dependencies base (>=4.7 && <4.9) [details]
License LicenseRef-PublicDomain
Author Moritz Bruder
Category Data
Source repo head: git clone -b master
Uploaded by muesli4 at 2015-11-30T23:36:35Z
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 2469 total (10 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-

[back to package description]


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"