Skip to content

Commit 86d45f0

Browse files
Fix compiler error due to Region using old kind syntax
1 parent d4db98b commit 86d45f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Control/Monad/ST/Internal.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import Partial.Unsafe (unsafePartial)
2121
-- | `ST` is concerned with _restricted_ mutation. Mutation is restricted to a
2222
-- | _region_ of mutable references. This kind is inhabited by phantom types
2323
-- | which represent regions in the type system.
24-
foreign import kind Region
24+
foreign import data Region :: Type
2525

2626
-- | The `ST` type constructor allows _local mutation_, i.e. mutation which
2727
-- | does not "escape" into the surrounding computation.

0 commit comments

Comments
 (0)