Skip to content

Commit 5d4226e

Browse files
authored
chore: fix some typos in comments (#491)
Signed-off-by: luchenhan <[email protected]>
1 parent b79f7ec commit 5d4226e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

vector/src/Data/Vector/Generic/Base.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ class MVector (Mutable v) a => Vector v a where
145145
--
146146
-- > elemseq v x y = (singleton x `asTypeOf` v) `seq` y
147147
--
148-
-- Default defintion: @a@ is not evaluated at all.
148+
-- Default definition: @a@ is not evaluated at all.
149149
elemseq :: v a -> a -> b -> b
150150

151151
{-# INLINE elemseq #-}

vector/src/Data/Vector/Storable/Mutable.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ storableSetAsPrim n fp x _y = unsafeWithForeignPtr fp $ \ ptr -> do
248248

249249
{-
250250
AFTER primitive 0.7 is pretty old, move to using setPtr. which is really
251-
a confusing misnomer for whats often called memset (intialize)
251+
a confusing misnomer for what's often called memset (initialize)
252252
-}
253253
-- Fill a memory block with the given value. The length is in
254254
-- elements of type @a@ rather than in bytes.

0 commit comments

Comments
 (0)