Skip to content

Suggest using hash instead of make-immutable-hash with quasiquoting #122

@jackfirth

Description

@jackfirth

Example:

(make-immutable-hash
 `((body . ,body)
   (event . ,event)
   (comments . ,(map github-review-comment-jsexpr comments))))

If the keys are statically known, hash is simpler.

The same goes for quasiquoted #hash() literals, but those are trickier.

Metadata

Metadata

Assignees

Labels

autopilot-candidateThe Copilot Agent should attempt this during a scheduled Autopilot runnew lintIssues suggesting new lints or pull requests implementing new lints

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions