Open hasufell opened 4 years ago
I agree, those newlines seem unnecessary to me. Is this what you'd like to see instead?
main = do
let run e = do
settings <- exceptT
(\_ -> die
. color Red
$ "Could not get settings, make sure to run 'ghup config' first"
)
pure
$ getSettings (flip runReaderT) settings
. runExceptT
. withExceptT show
$ e
pure settings
pure ()
I don't remember whether this was discussed a few years ago, but:
Becomes
I think what makes it look bad is the newlines after
let
,settings <-
and(\_ ->