Skip to content

Commit

Permalink
Reword module comment for immutable strict vectors
Browse files Browse the repository at this point in the history
  • Loading branch information
Shimuuar committed Mar 31, 2024
1 parent db3529f commit 96b0cc0
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions vector/src/Data/Vector/Strict.hs
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@
-- Portability : non-portable
--
-- Immutable strict boxed vectors (that is, polymorphic arrays capable
-- of holding any Haskell value). It is possible to create vector
-- which contain bottom elements, either by using mutable interfaces
-- (see "Data.Vector.Strict.Mutable")
-- of holding any Haskell value). Vectors created using API for
-- immutable vector will have all elements evaluated to WHNF. Note
-- it's possible to create vector containing bottoms using mutable API
-- ('Data.Vector.Strict.Mutable.new' initialize vector with ⊥) fill
-- but all subsequent writes will be evauated to WHNF.
--
-- For unboxed arrays, use "Data.Vector.Unboxed".
module Data.Vector.Strict (
Expand Down

0 comments on commit 96b0cc0

Please sign in to comment.