Skip to content

Refactor Bool property checks to explicit Just True comparisons #3

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

Merged
merged 2 commits into from
Jun 1, 2025

Conversation

webdevred
Copy link
Owner

  • Replace fromMaybe False maybeProp with (Just True == maybeProp) for clarity and precision
  • Simplify tryDecodeKey by removing unnecessary do block and using direct case expression
  • Improve readability by making boolean property checks more explicit

webdevred added 2 commits June 1, 2025 19:57
- Replace fromMaybe False maybeProp with (Just True == maybeProp) for clarity and precision
- Simplify tryDecodeKey by removing unnecessary do block and using direct case expression
- Improve readability by making boolean property checks more explicit
@webdevred webdevred merged commit 4700240 into master Jun 1, 2025
1 check passed
@webdevred webdevred deleted the apply-hlint-fixes branch June 1, 2025 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