You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
importControl.Monad (guard, unless, void)
importControl.Monad.IO.Class (MonadIO)
importData.Maybe (catMaybes)
item =Item
{ aField ="mhm"
, anotherField =\x ->case complexFunction 123 (anotherComplexFunction x Nothing) ofLeft e ->NothingRight y ->Just [y]
}
My goal is to achieve the import list of the former, with the body formatted as the latter. Specifically, I dislike how in the former result, complexFunction and the Left/Right are indented to (4n + 1) spaces! It looks like a hanging indent from \x, but this is quite ugly.
The text was updated successfully, but these errors were encountered:
I'd love it if it were possible to use IndentPolicyFree on the module preamble, but IndentPolicyLeft on the body code.
IndentPolicyFree
IndentPolicyLeft & IndentPolicyMultiple
My goal is to achieve the import list of the former, with the body formatted as the latter. Specifically, I dislike how in the former result,
complexFunction
and theLeft
/Right
are indented to (4n + 1) spaces! It looks like a hanging indent from\x
, but this is quite ugly.The text was updated successfully, but these errors were encountered: