Skip to main content

Module simplerow

Module simplerow 

Source
Expand description

SimpleRow format: a row-oriented fact file format using Mangle syntax.

Each fact is written as a valid Mangle atom (e.g. edge(1, 2).). The file has the same header as SimpleColumn (predicate count, then predicate name/arity/count lines), followed by facts grouped by predicate.

Structs§

SimpleRowData
Parsed simplerow data: predicate name → list of fact tuples.

Functions§

read_from_bytes
Read a simplerow file from bytes.
read_from_reader
Read a simplerow file from a reader.
write_simple_row
Write facts in simplerow format.