Stephen Tetley <stephen.tet...@gmail.com> writes: > -- first element special > -- > anacrusisMap :: (a -> b) -> (a -> b) -> [a] -> [b] > anacrusisMap _ _ [] = [] > anacrusisMap f g (a:as) = f a : map g as
I've done something like this, and gave it the extremely imaginative name of firstOthers. But it was an internal non-exported function. -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe