efmt 0.21.0

Erlang code formatter
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
%%---10--|----20---|----30---|----40---|----50---|
-module(long_spec).


-spec foo(#bar{}, #baz{}) ->
          {ok, #quz{}} | {error, term()}.

-spec bar(#bar{}, #baz{}) ->
          {ok, #quz{}} |
          {error, term()} |
          undefined.

-spec baz() ->
          {ok, term()} | {error, Reason} | timeout
              when Reason :: term().