Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
a08fdacc
Commit
a08fdacc
authored
Nov 20, 2007
by
simonpj@microsoft.com
Browse files
Fix Trac
#1909
: type of map in docs
parent
1d026619
Changes
1
Hide whitespace changes
Inline
Side-by-side
docs/users_guide/ghci.xml
View file @
a08fdacc
...
...
@@ -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>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment