···209 init = list: assert list != []; take (length list - 1) list;
210211212- # Zip two lists together.
213- zipTwoLists = xs: ys:
214- let
215- len1 = length xs;
216- len2 = length ys;
217- len = if len1 < len2 then len1 else len2;
218- zipTwoLists' = n:
219- if n != len then
220- [ { first = elemAt xs n; second = elemAt ys n; } ]
221- ++ zipTwoLists' (n + 1)
222- else [];
223- in zipTwoLists' 0;
224-225-226 deepSeqList = xs: y: if any (x: deepSeq x false) xs then y else y;
227228 crossLists = f: foldl (fs: args: concatMap (f: map f args) fs) [f];
···209 init = list: assert list != []; take (length list - 1) list;
21021100000000000000212 deepSeqList = xs: y: if any (x: deepSeq x false) xs then y else y;
213214 crossLists = f: foldl (fs: args: concatMap (f: map f args) fs) [f];