Skip to content

Apply hlint suggestion: use Data.Bifunctor.second in test#1127

Draft
Copilot wants to merge 2 commits intomasterfrom
copilot/sub-pr-1125
Draft

Apply hlint suggestion: use Data.Bifunctor.second in test#1127
Copilot wants to merge 2 commits intomasterfrom
copilot/sub-pr-1125

Conversation

Copy link

Copilot AI commented Mar 11, 2026

The haskell-actions/hlint-scan@v1 action uploads results to GitHub Code Scanning (Advanced Security) as SARIF, which is why the suggestion surfaced via github-advanced-security[bot] rather than as a direct PR check annotation — the hlint action did catch it.

Changes

  • Test/Cardano/Api/Transaction/Body/Plutus/Scripts.hs: Apply hlint Use second suggestion — replace explicit lambda with Data.Bifunctor.second:
-- Before
map (\(w, sw) -> (w, anyScriptWitnessToAnyWitness sw))

-- After
map (second anyScriptWitnessToAnyWitness)

Added import Data.Bifunctor (second) accordingly.


🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

Co-authored-by: carbolymer <228866+carbolymer@users.noreply.github.com>
Copy link
Author

Copilot AI commented Mar 11, 2026

Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • chap.intersectmbo.org
    • Triggering command: /usr/bin/curl /usr/bin/curl REDACTED --output /tmp/transportAdapterGet3981-7 --location --write-out %{http_code} --user-agent cabal-install/3.16.1.0 (linux; x86_64) --silent --show-error --dump-header /tmp/curl-headers3981-8.txt (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot AI changed the title [WIP] Address hlint feedback for exporting extractWitnessable functions Apply hlint suggestion: use Data.Bifunctor.second in test Mar 11, 2026
Base automatically changed from worktree-1083-replace-inline-witness-conversions to master March 11, 2026 13:22
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