Skip to content

Commit ef473f7

Browse files
Eric Lindbladtreeowl
authored andcommitted
typos
1 parent 7aba44f commit ef473f7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

containers-tests/tests/IntSetValidity.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,6 @@ validTipPrefix :: Prefix -> Bool
8484
-- Last 5 bits of the prefix must be zero for 32 bit arches.
8585
validTipPrefix p = (0x0000001F .&. p) == 0
8686
#else
87-
-- Last 6 bits of the prefix must be zero 64 bit anches.
87+
-- Last 6 bits of the prefix must be zero for 64 bit arches.
8888
validTipPrefix p = (0x000000000000003F .&. p) == 0
8989
#endif

containers/src/Data/Set/Internal.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ isSubsetOf t1 t2
682682
--
683683
-- This function is structured very much like `difference`, `union`,
684684
-- and `intersection`. Whereas the bounds proofs for those in Blelloch
685-
-- et al needed to accound for both "split work" and "merge work", we
685+
-- et al needed to account for both "split work" and "merge work", we
686686
-- only have to worry about split work here, which is the same as in
687687
-- those functions.
688688
isSubsetOfX :: Ord a => Set a -> Set a -> Bool

containers/src/Utils/Containers/Internal/BitQueue.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ buildQ (BQB hi lo) = BQ (BQB hi' lo') where
9696
lo' = (lo1 `shiftRL` zeros) .|. (hi1 `shiftLL` (wordSize - zeros))
9797
hi' = hi1 `shiftRL` zeros
9898

99-
-- Test if the queue is empty, which occurs when theres
99+
-- Test if the queue is empty, which occurs when there's
100100
-- nothing left but a guard bit in the least significant
101101
-- place.
102102
nullQ :: BitQueue -> Bool

0 commit comments

Comments
 (0)