View Source argo_graphql (argo v1.0.1)
Summary
Types
-type xform_action() :: cont | skip.
-type xform_func(Type, Acc) :: xform_func(Type, Acc, Type, Acc).
-type xform_func(TypeIn, AccIn, TypeOut, AccOut) :: fun((TypeIn, AccIn) -> xform_result(TypeOut, AccOut)).
-type xform_result(TypeOut, AccOut) :: xform_action() | {xform_action(), AccOut} | {xform_action(), TypeOut, AccOut}.
Functions
-spec display(dynamic()) -> ok.
-spec display(io:device(), dynamic()) -> ok.
-spec display_with_lines(dynamic()) -> ok.
-spec display_with_lines(io:device(), dynamic()) -> ok.
-spec format(dynamic()) -> unicode:unicode_binary().
-spec format_with_lines(dynamic()) -> unicode:unicode_binary().
-spec xform(TypeIn, AccIn, Fun) -> {TypeOut, AccOut} when TypeIn :: dynamic(), AccIn :: dynamic(), Fun :: xform_func(TypeIn, AccIn, TypeOut, AccOut), TypeOut :: dynamic(), AccOut :: dynamic().