erlsom
erlsom copied to clipboard
Ambiguous documentation about CState and State in CFunction
In the sax mode documentation,
Option = {continuation_function, CState, CFunction} | ...
there is no documentation about the CState. Can it be anything?
Also, in the documentation of CFunction,
CFunctionshould be a function that takes 2 arguments: Tail and State.
Is the State the same thing as CState?
you may take a look in the continuation example source, nevertheless, the continuation option should set to
Option = {continuation_function, CFunction, CState} | ...
simple documentation bug