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

feat: use capital letter for public export #6

Merged
merged 1 commit into from
Aug 3, 2024
Merged

feat: use capital letter for public export #6

merged 1 commit into from
Aug 3, 2024

Conversation

nrdxp
Copy link
Contributor

@nrdxp nrdxp commented Aug 3, 2024

It is much less verbose than a pub_ prefix.

Semantics are:

{
  # declare: all capitalized outputs are public.
  MyFunc = x: x;

  # use: maintains nix's camel case convention
  some = mod.myFunc 1;
}

It is much less verbose that a `pub_` prefix.
@nrdxp nrdxp merged commit aa358d4 into master Aug 3, 2024
2 checks passed
@nrdxp nrdxp deleted the capital-pub branch August 5, 2024 18:07
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