GEPA.DataLoader.List (GEPA v0.3.0)

Copy Markdown View Source

In-memory loader using zero-based integer IDs.

Summary

Functions

Append items while preserving existing IDs.

Types

t()

@type t() :: %GEPA.DataLoader.List{items: [term()]}

Functions

add_items(loader, new_items)

@spec add_items(t(), [term()]) :: t()

Append items while preserving existing IDs.

new(items)

@spec new([term()]) :: t()