Skip to content
Closed
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
4 changes: 2 additions & 2 deletions src/Control/Monad/ST.purs
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import Control.Monad.Eff (Eff, kind Effect, runPure)
-- | The `runST` function can be used to handle the `ST` effect.
foreign import data ST :: Type -> Effect

-- | The type `STRef h a` represents a mutable reference holding a value of
-- | type `a`, which can be used with the `ST h` effect.
-- | The type `STRef h r` represents a mutable reference holding a value of
-- | type `r`, which can be used with the `ST h` effect.
foreign import data STRef :: Type -> Type -> Type

-- | Create a new mutable reference.
Expand Down