Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c1c5dee

Browse files
Fix various spelling errors. (#1158)
1 parent 9498edf commit c1c5dee

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

‎CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Instructions for Contributors
22

3-
To report bugs, or propose enchancements or changes, please use the
3+
To report bugs, or propose enhancements or changes, please use the
44
[GitHub issue tracker](https://github.com/haskell/containers/issues).
55

66
You are also welcome to propose code changes in the form of

‎containers/docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
# -- General configuration ------------------------------------------------
1414

15-
# Add the _extenions dir to the search path.
15+
# Add the _extensions dir to the search path.
1616
sys.path.insert(0, os.path.abspath('.') + '/_extensions')
1717
sys.path.insert(0, os.path.abspath('.') + '/_extensions/haddock-autolink')
1818

‎containers/docs/map.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ Common API Functions
117117
``size`` which is O(1) for ``Map`` and O(n) for ``IntMap``.
118118

119119
.. NOTE::
120-
A ``Map`` is printed as an association list preceeded by ``fromList``. For
120+
A ``Map`` is printed as an association list preceded by ``fromList``. For
121121
example, it might look like ``fromList [(Key1,True),(Key2,False)]``.
122122

123123

‎containers/docs/sequence.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ Importing Sequence
8181
------------------
8282

8383
When using ``Sequence`` in a Haskell source file you should always use a
84-
``qualified`` import becasue it exports names that clash with the standard
84+
``qualified`` import because it exports names that clash with the standard
8585
Prelude (you can import the type constructor and some operators on their own
8686
though!).
8787

‎containers/src/Data/IntMap/Internal.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1326,7 +1326,7 @@ restrictBM t@(Bin p l r) !bm
13261326
-- Here we care about the "submask" of bm corresponding the current Bin's
13271327
-- range. So we create bm', where this submask is at the lowest position and
13281328
-- and all other bits are set to the highest bit of the submask (using an
1329-
-- arithmetric shiftR). Now bm' is 0 when the submask is empty and -1 when
1329+
-- arithmetic shiftR). Now bm' is 0 when the submask is empty and -1 when
13301330
-- the submask is full.
13311331
px = IntSet.suffixOf (unPrefix p)
13321332
px1 = px - 1
@@ -3612,7 +3612,7 @@ ascLinkStack stk !rk r = case stk of
36123612
-- [zipper](https://en.wikipedia.org/wiki/Zipper_(data_structure)). It always
36133613
-- has its "focus" at the last inserted entry. To insert a new entry, we need
36143614
-- to move the focus to the new entry. To do this we move up the stack to the
3615-
-- lowest common ancestor of the currest position and the position of the
3615+
-- lowest common ancestor of the current position and the position of the
36163616
-- new key (implemented as moveUpB), then down to the position of the new key
36173617
-- (implemented as moveDownB).
36183618
--

‎containers/src/Data/Set/Internal.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2335,8 +2335,8 @@ validsize t
23352335
-- done in O(1) using `Bin`. The final linking of the stack is done in O(log n)
23362336
-- using `link` (proof below). The total time is thus O(n).
23372337
--
2338-
-- Additionally, the implemention is written using foldl' over the input list,
2339-
-- which makes it participate as a good consumer in list fusion.
2338+
-- Additionally, the implementation is written using foldl' over the input
2339+
-- list, which makes it participate as a good consumer in list fusion.
23402340
--
23412341
-- fromDistinctDescList is implemented similarly, adapted for left and right
23422342
-- sides being swapped.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /