# chickadee » tabular » writer

##### Identifier search
writer:procedure

Constructs a writer procedure that writes out records according to the given output specification. The writer procedure is of the form LAMBDA RECORDS -> UNIT. Each record is represented as a list.

• Argument OUTPUT is a string file name or a port.
• Argument DELIMITER specifies the delimiter character (default is #\,). If its value is #f, then COLUMNN-WIDTHS must be specified.
• Argument ENDLINE specifies the end-of-line string (default is "\n").
• Argument COLUMN-WIDTHS specifies column widths which will be used if DELIMITER is not specified (default: none).