28 Aug
                
                    2009
                
            
            
                28 Aug
                
                '09
                
            
            
            
        
    
                8:38 a.m.
            
        haskell@kudling.de wrote:
You are asked to iterate over the list and calculate the average value of each 3 neighbouring values.
Lambda Fu, form 72 - three way dragon zip averages3 xs = zipWith3 avg xs (drop 1 xs) (drop 2 xs) where avg a b c = (a+b+c) / 3 Regards, apfelmus -- http://apfelmus.nfshost.com