import "Prelude" f p l = (foldl (+) (map ((+)p) l)) + p -- 3:1-3:39: Couldn't simplify all effect subsumptions away. The current compiler cannot handle this situation. Try adding more type annotations. 3:25-3:31: Type [a b] -> a b is not a subtype of a.