asdlGen Reference Manual : Support Code : Lists and Options
Previous: BigNums
Next: Note about --mono_types=false for C

7.3. Lists and Options

For code that does not use polymorphic list and option the following extra types are needed along with the corresponding read and write functions

int_list int_option

The list and option types for integers.

string_list string_option

The list an option types for strings.

identifier_list identifier_option

The list an option types for identifiers.

For code that supports polymorphic list and options the following extra functions are required

read_list write_list

Functions whose first argument is a read or write function for a specific type that reads or writes a list of that type.

read_option write_option

Functions whose first argument is a read or write function for a specific type that reads or writes a option of that type.


asdlGen Reference Manual : Support Code : Lists and Options
Previous: BigNums
Next: Note about --mono_types=false for C