efmt 0.0.7

Erlang code formatter
Documentation

efmt

efmt Documentation Actions Status License

Erlang code formatter.

NOTICE This crate is still in the development phase. So the formatting style can be radically changed in the future.

Examples

$ echo 'foo() -> bar.' | efmt
foo() ->
    bar.
$ echo 'foo(x) -> y; foo(A) -> [{A, A}, A].' | efmt --max-columns 10
foo(x) ->
    y;
foo(A) ->
    [{A,
      A},
     A].

Limitations

TODO (e.g., broken forms in an unreachable -if. branch, parse-transform)