erlsom icon indicating copy to clipboard operation
erlsom copied to clipboard

Ambiguous documentation about CState and State in CFunction

Open Aetherus opened this issue 8 years ago • 1 comments

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,

CFunction should be a function that takes 2 arguments: Tail and State.

Is the State the same thing as CState?

Aetherus avatar Mar 27 '17 02:03 Aetherus

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

odix67 avatar Aug 19 '20 14:08 odix67