From: simonpj@microsoft.com Date: Tue, 20 Nov 2007 16:01:52 +0000 (+0000) Subject: Fix Trac #1909: type of map in docs X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=a08fdacc32123d8e2db2b381b695a8d860857184 Fix Trac #1909: type of map in docs --- diff --git a/docs/users_guide/ghci.xml b/docs/users_guide/ghci.xml index 69fcc36..98496d7 100644 --- a/docs/users_guide/ghci.xml +++ b/docs/users_guide/ghci.xml @@ -1437,7 +1437,7 @@ as = 'b' : 'c' : (_t1::[Char]) import Prelude hiding (map) -map :: (a->b) -> a -> b +map :: (a->b) -> [a] -> [b] map f [] = [] map f (x:xs) = f x : map f xs