X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=docs%2Fusers_guide%2Fghci.xml;h=528a6522894263ca5089928396e85ee46415b70b;hb=d2b3daa3cc474e6ab010fb6af5c21ddb852b8b5b;hp=69fcc360e6cdbd399ff3b9528fe57f3564cc8dec;hpb=4899a56bd4455b9b1b285f1573f0a2376bc4f043;p=ghc-hetmet.git diff --git a/docs/users_guide/ghci.xml b/docs/users_guide/ghci.xml index 69fcc36..528a652 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 @@ -1991,6 +1991,17 @@ Prelude> :. cmds.ghci + + : + : + + + Repeat the previous command. + + + + + :history [num] :history