Skip to content

Use a poly-kinded Proxy#60

Merged
joneshf merged 2 commits intomainfrom
joneshf/use-a-poly-kinded-proxy/llpsqqtvzpuo
Jul 29, 2025
Merged

Use a poly-kinded Proxy#60
joneshf merged 2 commits intomainfrom
joneshf/use-a-poly-kinded-proxy/llpsqqtvzpuo

Conversation

@joneshf
Copy link
Owner

@joneshf joneshf commented Jul 29, 2025

Context

Data.Symbol.SProxy, Type.Data.RowList.RLProxy, and similar mono-kinded proxies are deprecated in PureScript 0.14.x and removed in PureScript 0.15.x. Now that we're on a version of PureScript that supports poly-kinded types, we don't even have to think about Data.Symbol.SProxy _, Type.Data.RowList.RLProxy _, or whatever the next iteration of that stuff is. We can instead make our internal Option.Proxy poly-kinded, and not deal with the shuffling from purescript-prelude.

We update the tests to use Type.Proxy.Proxy _, since the tests are supposed to be validating the public API and making sure it works with the larger PureScript ecosystem. We also update the comments to mention this new world instead of referencing things that don't exist anymore.

Testing

This does not change the kinds/types of anything that is exported. The changes to the test are not from required behavioral changes, but only to stay in line with the larger PureScript ecosystem. CI compiling/tests passing should give us enough confidence that we're doing the right thing.

joneshf added 2 commits July 29, 2025 05:28
Now that we're on a version of PureScript that supports poly-kinded
types, we don't even have to think about `Data.Symbol.SProxy _`,
`Type.Data.RowList.RLProxy _`, or whatever the next iteration of that
stuff is. We can instead make our internal `Option.Proxy` poly-kinded,
and not deal with the shuffling from `purescript-prelude`.

We update the tests to use `Type.Proxy.Proxy _`, since the tests are
supposed to be validating the public API and making sure it works with
the larger PureScript ecosystem.
`Data.Symbol.SProxy`, `Type.Data.RowList.RLProxy`, and similar
mono-kinded proxies are deprecated in PureScript 0.14.x and removed in
PureScript 0.15.x. They have been replaced with a single poly-kinded
`Type.Proxy.Proxy`. We update the comments to mention this new world
instead of referencing things that don't exist anymore.
@joneshf joneshf merged commit 2fdc06b into main Jul 29, 2025
1 check passed
@joneshf joneshf deleted the joneshf/use-a-poly-kinded-proxy/llpsqqtvzpuo branch July 29, 2025 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant