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]
Versions 0.1.0.0, 0.1.0.1
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 Mon Nov 30 23:36:35 UTC 2015
Distributions NixOS:0.1.0.1
Downloads 422 total (2 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2015-12-04 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


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')]