File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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.
3333foreign import data STArray :: * -> * -> *
3434
35- -- | An element and its index
35+ -- | An element and its index.
3636type Assoc a = { value :: a , index :: Int }
3737
3838-- | Freeze a mutable array, creating an immutable array. Use this function as you would use
You can’t perform that action at this time.
0 commit comments