Regular Prolog predicates (:-
) have an indicator notation of
<name>/<arity>
(ref)
or with a module
<module>:<name>/arity
DCG (-->
) have an indicator notation of
<name>//<arity>
When using EDCG (-->>
) is there a special notation for them?
I am thinking of something like
hex_dump/4 + input/2 + output/2
where /4
is the visible arguments and input/2
is for the hidden input
accumulator and output/2
is for the hidden output
accumulator.
I have not used the single arguments (pass_info/3) of EDCG yet, but am thinking it will obviously be like
hex_dump/4 + input/2 + output/2 + value_spacing/1 + section_spacing/1