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§
- Simple
RowData - 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.