Show
Ignore:
Timestamp:
05/30/07 23:33:00 (18 months ago)
Author:
moritz
Message:

fixed zip to truncate to the shortest list

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Pugs/Prim/List.hs

    r16384 r16572  
    3131 
    3232op0Zip' :: [[Val]] -> [[Val]] 
    33 op0Zip' lists | all null lists = [] 
     33op0Zip' lists | any null lists = [] 
    3434op0Zip' lists = (map zipFirst lists):(op0Zip' (map zipRest lists)) 
    3535    where