From a08fdacc32123d8e2db2b381b695a8d860857184 Mon Sep 17 00:00:00 2001 From: "simonpj@microsoft.com" Date: Tue, 20 Nov 2007 16:01:52 +0000 Subject: [PATCH] Fix Trac #1909: type of map in docs --- docs/users_guide/ghci.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.7.10.4