Skip to content

Commit f851d0f

Browse files
authored
Fix typo
in description of 'Data.Map.member'
1 parent 086fa7d commit f851d0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/modules.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ <h1>Modules</h1>
635635
fromList [(3,9),(5,9)]
636636
</pre>
637637
<p><span class="label function">lookup</span> works like the <span class="fixed">Data.List</span> <span class="fixed">lookup</span>, only it operates on maps. It returns <span class="fixed">Just something</span> if it finds something for the key and <span class="fixed">Nothing</span> if it doesn't.</p>
638-
<p><span class="label function">member</span> is a predicate takes a key and a map and reports whether the key is in the map or not.</p>
638+
<p><span class="label function">member</span> is a predicate that takes a key and a map and reports whether the key is in the map or not.</p>
639639
<pre name="code" class="haskell:ghci">
640640
ghci&gt; Map.member 3 $ Map.fromList [(3,6),(4,3),(6,9)]
641641
True

0 commit comments

Comments
 (0)