Skip to content

Idiomatic cleanup: Haskell & Nix - #54

Merged
srid merged 1 commit into
masterfrom
elegance/idiomatic-cleanup
Mar 21, 2026
Merged

Idiomatic cleanup: Haskell & Nix#54
srid merged 1 commit into
masterfrom
elegance/idiomatic-cleanup

Conversation

@srid

@srid srid commented Mar 21, 2026

Copy link
Copy Markdown
Owner

Summary

  • Haskell: Remove unnecessary do blocks (5 instances), use \case for routeTitle, deduplicate logo URL via let binding, inline single-use SiteConfig binding, fix double space in navbar CSS class
  • Nix: Use inherit root instead of root = root, flatten unnecessary inner braces in devshell.nix, replace pushd with cd in derivation builder

Test plan

  • nix run github:juspay/vira -- ci -b passes (verified after each iteration)

Haskell: remove unnecessary do blocks, use \case for routeTitle,
deduplicate logo URL, inline single-use SiteConfig binding, fix
double space in navbar CSS class.

Nix: use inherit, flatten devshell braces, pushd → cd in derivation.
@srid
srid marked this pull request as ready for review March 21, 2026 18:44
@srid
srid merged commit f0a3717 into master Mar 21, 2026
1 check passed
@srid
srid deleted the elegance/idiomatic-cleanup branch March 21, 2026 18:44
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