Skip to content
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

[data] make Tag[Defer] compact #849

Merged
merged 1 commit into from
Nov 20, 2024
Merged

Conversation

hearnadam
Copy link
Collaborator

No description provided.

@@ -5,7 +5,7 @@ package object kernel:
enum Mode derives CanEqual:
case Development, Staging, Production

private object internal:
private[kyo] object internal:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd prefer to avoid making this visible to the rest of the codebase. An important aspect of the last major redesign was to avoid having code that uses the internal representation of the pending type outside of the kernel. It makes it easier to evolve the kernel in isolation. Can you make only Defer private[kyo]? It could be in the package object instead.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I could also create a test in the kernel namespace.

@fwbrasil fwbrasil merged commit b0e83b0 into getkyo:main Nov 20, 2024
3 checks passed
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.

2 participants