tweag / ormolu

A formatter for Haskell source code
https://ormolu-live.tweag.io
Other
938 stars 83 forks source link

Avoid boolean blindness with choice #1117

Closed brandonchinn178 closed 4 weeks ago

brandonchinn178 commented 1 month ago

Broken off from https://github.com/tweag/ormolu/pull/1097#discussion_r1491404015

Broke off some easy places. Not urgent

Pros:

Cons:

brandonchinn178 commented 4 weeks ago

@amesgen Do you know how to update the Nix config to fetch the new choice version that was released to Hackage?

mrkkrp commented 4 weeks ago

Can you also rebase?

amesgen commented 4 weeks ago

@amesgen Do you know how to update the Nix config to fetch the new choice version that was released to Hackage?

Pushed a corresponding commit :+1: (nix flake update haskellNix)

brandonchinn178 commented 4 weeks ago

@amesgen Thanks. FWIW I don't have Nix installed; it's a bit difficult to make that change to make that change as a non-Nix contributor...