[erlang-questions] [ANN] erlang-formatter 1.0.0 (go fmt for Erlang)

Mark Bucciarelli mkbucc@REDACTED
Mon Aug 29 01:48:06 CEST 2016


On Sun, Aug 28, 2016 at 8:53 AM, Pierre Fenoll <pierrefenoll@REDACTED>
wrote:

> Ah so I tried erl_tidy and like Tristan says over at
> https://github.com/tsloughter/erl_tidy :
> Oh boy my specs!
>

OTP-19 includes support for -spec's and -types. (see
https://github.com/erlang/otp/pull/1034).  Not quite pretty yet, but no
data loss.  :)


> How do you handle the cases where erl_tidy spews out AST code instead of
> compilable code?
>

Could you give me a specific case of what you mean?

I tried erlfmt'd the entire OTP-19 erlang source tree and grepping the
output for the string '{tree', but the only hits where files that included
the string to start with.  Any my google-foo came up empty.

Thanks,

Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160828/011bc435/attachment.htm>


More information about the erlang-questions mailing list