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

chore(golangci): disable the unnamed unlambda rule #6626

Conversation

Lance52259
Copy link
Contributor

@Lance52259 Lance52259 commented Apr 8, 2025

What this PR does / why we need it:
In Unlambda, which is a minimal functional programming language based on combinatory logic, you would need to express this Go function in a completely different way since Unlambda doesn't have variables, parameters, or typical function definitions.
Translating the Go function into Unlambda requires a radical paradigm shift since Unlambda has:

  • No variables (only combinators s, k, i)
  • No named parameters (all functions are curried)
  • No built-in types (strings, structs must be encoded)

Which issue this PR fixes:
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)
fixes #xxx

Special notes for your reviewer:

Release note:

1. disable the unnamed unlambda rule.

PR Checklist

  • Tests added/passed.
NONE
  • Documentation updated.

  • Schema updated.

  • CheckDeleted.

    • a. During query operation (Read Context)
      aa. Resource not found
      >>>>>> Paste the screenshot here <<<<<<

    • b. During delete/disassociate/unbind operation (Delete Context)
      ba. Resource not found
      >>>>>> Paste the screenshot here <<<<<<

@github-ci-robot github-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 8, 2025
@github-ci-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This PR has been approved by: @Lance52259

@deer-hang
Copy link
Contributor

/lgtm

@github-ci-robot github-ci-robot added the LGTM /lgtm label Apr 8, 2025
@github-ci-robot github-ci-robot merged commit a988778 into huaweicloud:master Apr 8, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. chore LGTM /lgtm size/XS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants