diff --git a/src/Record/ST.purs b/src/Record/ST.purs index 56fe1f8..a9a74a8 100644 --- a/src/Record/ST.purs +++ b/src/Record/ST.purs @@ -19,6 +19,8 @@ import Prim.Row as Row -- | Create values of type `STRecord` using `thaw`. foreign import data STRecord :: Region -> # Type -> Type +type role STRecord nominal representational + -- | Freeze a mutable record, creating a copy. foreign import freeze :: forall h r. STRecord h r -> ST h (Record r)