Skip to content

Commit c1f2d68

Browse files
committed
Update Data.Array.ST docs
- Fix deprecated syntax [a] for Array a - Add a missing full stop
1 parent 57f4c37 commit c1f2d68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Data/Array/ST.purs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ import Data.Maybe (Maybe(..))
2828
-- | The first type parameter represents the memory region which the array belongs to.
2929
-- | The second type parameter defines the type of elements of the mutable array.
3030
-- |
31-
-- | The runtime representation of a value of type `STArray h a` is the same as that of `[a]`,
31+
-- | The runtime representation of a value of type `STArray h a` is the same as that of `Array a`,
3232
-- | except that mutation is allowed.
3333
foreign import data STArray :: * -> * -> *
3434

35-
-- | An element and its index
35+
-- | An element and its index.
3636
type Assoc a = { value :: a, index :: Int }
3737

3838
-- | Freeze a mutable array, creating an immutable array. Use this function as you would use

0 commit comments

Comments
 (0)