Skip to content

Remove proxy types #288

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Mar 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ Notable changes to this project are documented in this file. The format is based
Breaking changes:
- Migrated FFI to ES Modules (#287 by @kl0tl and @JordanMartinez)
- Change Generic Rep's `NoConstructors` to newtype `Void` (#282 by @JordanMartinez)
- Replace `forall proxy. proxy k` workaound with `Proxy k` (#281 by @JordanMartinez)
- Drop all kind-specific Proxy types (e.g. `Proxy2`, `Proxy3`) (#281 by @JordanMartinez)
- Replaced polymorphic proxies with monomorphic `Proxy` (#281, #288 by @JordanMartinez)

New features:

Expand Down
6 changes: 0 additions & 6 deletions src/Data/Symbol.purs
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,10 @@ module Data.Symbol
( class IsSymbol
, reflectSymbol
, reifySymbol
, SProxy(..)
) where

import Type.Proxy (Proxy(..))

-- | A value-level proxy for a type-level symbol.
-- | **Deprecated as of v0.14.0 PureScript release**: use `Type.Proxy` instead.
data SProxy :: Symbol -> Type
data SProxy sym = SProxy

-- | A class for known symbols
class IsSymbol (sym :: Symbol) where
reflectSymbol :: Proxy sym -> String
Expand Down
22 changes: 0 additions & 22 deletions src/Type/Data/Row.purs

This file was deleted.

8 changes: 0 additions & 8 deletions src/Type/Data/RowList.purs

This file was deleted.