Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add an option to prettyprint call descriptions, etc. #351

Open
RichMorin opened this issue Jul 21, 2019 · 0 comments
Open

add an option to prettyprint call descriptions, etc. #351

RichMorin opened this issue Jul 21, 2019 · 0 comments

Comments

@RichMorin
Copy link
Contributor

RichMorin commented Jul 21, 2019

I often find myself editing Dialyzer's output to make the structure clearer.
For example, I might edit this call description:

InfoToml.CheckItem.check_values_h(
  _inp_map :: %{atom() | binary() => %{atom() | binary() => binary() | map()}},
  _check_fn :: (_, _ -> [any()]),
  []
)

into something like this:

InfoToml.CheckItem.check_values_h(
  _inp_map :: %{
    atom() | binary() => %{
      atom() |
      binary() => binary() |
      map()
    }
  },
  _check_fn :: (_, _ -> [any()]),
  []
)

So, I'd like to suggest a --pretty mode that would do this automagically.

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

No branches or pull requests

1 participant