Zip with default value instead of dropping values?
There is some structure to this problem, and here it comes. I’ll be using this stuff: import Control.Applicative import Data.Traversable import Data.List First up, lists-with-padding are a useful concept, so let’s have a type for them. data Padme m = (:-) {padded :: [m], padder :: m} deriving (Show, Eq) Next, I remember that the … Read more