Skip to content

Commit

Permalink
Merge pull request #420 from undergroundquizscene/patch-1
Browse files Browse the repository at this point in the history
Fix haddock hyperlink reference (minor typo)
  • Loading branch information
aspiwack authored Jun 7, 2022
2 parents 9b61ebe + 919c720 commit d49b30a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Data/Array/Mutable/Linear/Internal.hs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ size (Array arr) = f (Unlifted.size arr)
set :: HasCallStack => Int -> a -> Array a %1 -> Array a
set i x arr = unsafeSet i x (assertIndexInRange i arr)

-- | Same as 'set, but does not do bounds-checking. The behaviour is undefined
-- | Same as 'set', but does not do bounds-checking. The behaviour is undefined
-- if an out-of-bounds index is provided.
unsafeSet :: Int -> a -> Array a %1 -> Array a
unsafeSet ix val (Array arr) =
Expand Down

0 comments on commit d49b30a

Please sign in to comment.