Fixed shadowing in aplAll

This commit is contained in:
Jonas Betzendahl 2014-04-28 10:37:31 +02:00
parent 60fd217233
commit 777c868de0

View File

@ -31,7 +31,7 @@ aplByNode :: (Node -> Node) -> (Node -> Bool) -> PlayMap -> PlayMap
aplByNode f g mp = array (bounds mp) (map (\(ab,c) -> (if g c then (ab, f c) else (ab,c))) (assocs mp))
aplAll :: [a -> a] -> a -> a
aplAll fs m = foldl (\ m f -> f m) m fs
aplAll fs m = foldl (\ n f -> f n) m fs
-- general 3D-Gaussian
gauss3Dgeneral :: Floating q =>