Skip to content

Commit 8764b0d

Browse files
Add explicit kind signatures to RProxy, RLProxy, and SProxy
1 parent 556ad85 commit 8764b0d

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

src/Data/Symbol.purs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ import Type.Proxy (Proxy(..))
99

1010
-- | A value-level proxy for a type-level symbol.
1111
-- | **Deprecated as of v0.14.0 PureScript release**: use `Type.Proxy` instead.
12-
data SProxy (sym :: Symbol) = SProxy
12+
data SProxy :: Symbol -> Type
13+
data SProxy sym = SProxy
1314

1415
-- | A class for known symbols
1516
class IsSymbol (sym :: Symbol) where

src/Type/Data/Row.purs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ module Type.Data.Row where
1818
-- | { x :: Int, y :: Int } -> { x :: Int, y :: Int }
1919
-- | ```
2020
-- | Here `row` has been specialised to `( x :: Int, y :: Int )`.
21-
data RProxy (row :: Row Type)
22-
= RProxy
21+
data RProxy :: Row Type -> Type
22+
data RProxy row = RProxy

src/Type/Data/RowList.purs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ import Prim.RowList (RowList)
44

55
-- | A proxy to carry information about a rowlist.
66
-- | **Deprecated as of v0.14.0 PureScript release**: use `Type.Proxy` instead.
7-
data RLProxy (rowlist :: RowList Type)
8-
= RLProxy
7+
data RLProxy :: RowList Type -> Type
8+
data RLProxy rowlist = RLProxy

0 commit comments

Comments
 (0)