Commit a08fdacc authored by simonpj@microsoft.com's avatar simonpj@microsoft.com
Browse files

Fix Trac #1909: type of map in docs

parent 1d026619
......@@ -1437,7 +1437,7 @@ as = 'b' : 'c' : (_t1::[Char])
<programlisting>
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
</programlisting>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment