Skip to content

Commit 3042bcb

Browse files
Remove proxy types (#288)
* Drop deprecated SProxy, RProxy, RLProxy, Proxy2, and Proxy3 * Remove other forall proxy workarounds missed previously * Remove forall proxy workaround comment * Drop Proxy2/Proxy3 instances for various type classes * Update changelog entry
1 parent b3e64dd commit 3042bcb

File tree

4 files changed

+1
-38
lines changed

4 files changed

+1
-38
lines changed

CHANGELOG.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ Notable changes to this project are documented in this file. The format is based
77
Breaking changes:
88
- Migrated FFI to ES Modules (#287 by @kl0tl and @JordanMartinez)
99
- Change Generic Rep's `NoConstructors` to newtype `Void` (#282 by @JordanMartinez)
10-
- Replace `forall proxy. proxy k` workaound with `Proxy k` (#281 by @JordanMartinez)
11-
- Drop all kind-specific Proxy types (e.g. `Proxy2`, `Proxy3`) (#281 by @JordanMartinez)
10+
- Replaced polymorphic proxies with monomorphic `Proxy` (#281, #288 by @JordanMartinez)
1211

1312
New features:
1413

src/Data/Symbol.purs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,10 @@ module Data.Symbol
22
( class IsSymbol
33
, reflectSymbol
44
, reifySymbol
5-
, SProxy(..)
65
) where
76

87
import Type.Proxy (Proxy(..))
98

10-
-- | A value-level proxy for a type-level symbol.
11-
-- | **Deprecated as of v0.14.0 PureScript release**: use `Type.Proxy` instead.
12-
data SProxy :: Symbol -> Type
13-
data SProxy sym = SProxy
14-
159
-- | A class for known symbols
1610
class IsSymbol (sym :: Symbol) where
1711
reflectSymbol :: Proxy sym -> String

src/Type/Data/Row.purs

Lines changed: 0 additions & 22 deletions
This file was deleted.

src/Type/Data/RowList.purs

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)