Open lue-bird opened 1 year ago
@lue-bird can you provide a sample Elm code with the before/after how it should look? I might have time to try and fix this 😄
-description content = \ -> Ui.text content
+description content = Ui.text content
-|> List.map (\-> Ui.text)
+|> List.map Ui.text
Or are you looking for situations where one might remove lambda arguments?
For example, when one moves an argument from a lambda to the declaration level, some
\ ->
might remain. These have to be removed manually, whileelm-format
could remove those empty lambda arguments patterns automatically.