
2 Jul
2010
2 Jul
'10
5:15 p.m.
multRepl = foldl (uncurry . replace)
Actually I've been thinking about this and I can't quite figure out how it works: I understand the type of replace is replace :: (Eq a) => [a] -> [a] -> [a] -> [a] but I can't figure out how the type of (uncurry . replace) becomes uncurry . replace :: (Eq a) => [a] -> ([a], [a]) -> [a] ? Patrick -- ===================== Patrick LeBoutillier Rosemère, Québec, Canada