Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix some typos in comments #491

Merged
merged 1 commit into from
May 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion vector/src/Data/Vector/Generic/Base.hs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ class MVector (Mutable v) a => Vector v a where
--
-- > elemseq v x y = (singleton x `asTypeOf` v) `seq` y
--
-- Default defintion: @a@ is not evaluated at all.
-- Default definition: @a@ is not evaluated at all.
elemseq :: v a -> a -> b -> b

{-# INLINE elemseq #-}
Expand Down
2 changes: 1 addition & 1 deletion vector/src/Data/Vector/Storable/Mutable.hs
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ storableSetAsPrim n fp x _y = unsafeWithForeignPtr fp $ \ ptr -> do

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