File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,8 @@ import Type.Proxy (Proxy(..))
9
9
10
10
-- | A value-level proxy for a type-level symbol.
11
11
-- | **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
13
14
14
15
-- | A class for known symbols
15
16
class IsSymbol (sym :: Symbol ) where
Original file line number Diff line number Diff line change @@ -18,5 +18,5 @@ module Type.Data.Row where
18
18
-- | { x :: Int, y :: Int } -> { x :: Int, y :: Int }
19
19
-- | ```
20
20
-- | 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
Original file line number Diff line number Diff line change @@ -4,5 +4,5 @@ import Prim.RowList (RowList)
4
4
5
5
-- | A proxy to carry information about a rowlist.
6
6
-- | **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
You can’t perform that action at this time.
0 commit comments