__ __ __ __ ____ ___ _______________________________________________ || || || || || || ||__ Hugs 98: Based on the Haskell 98 standard ||___|| ||__|| ||__|| __|| Copyright (c) 1994-2005 ||---|| ___|| World Wide Web: http://haskell.org/hugs || || Bugs: http://hackage.haskell.org/trac/hugs || || Version: Sep 2006 _______________________________________________ Haskell 98 mode: Restart with command line option -98 to enable extensions Type :? for help Main> Main> map f [2,3,4,5,6] where f x = x*x [4,9,16,25,36] Main> Main> :t map map' :: (a -> b) -> [a] -> [b] Main> Main> :t filter filter :: (a -> Bool) -> [a] -> [a] Main> Main> :r Main> filterEven [1,2,3,4,5,6] where filterEven = filter even [2,4,6] Main> filterEven [1,2,3,4,5,6] where filterEven = filter' even [2,4,6] Main>