Colligo
Colligo — Framework for Delphi
Colligo is a high-performance functional programming and collection manipulation library for Delphi and Lazarus, heavily inspired by C# LINQ and stream-processing APIs from Java, Kotlin, and Rust.
It provides two primary abstractions:
IColligoEnumerable<T>— lazy pipeline for in-memory collections (arrays, lists).IColligoQueryable<T>— SQL-backed pipeline for database queries (requires FluentSQL + a DataEngine connection).
Where to start
Guides
- Filtering collections
- Projections — Select / SelectMany
- Ordering collections
- Partitioning — Take / Skip
- Set operations — Union, Intersect, Concat, Exclude
- Joins and Zip
- Aggregations
- Grouping
- Querying the database (IColligoQueryable)
- Nullable types
Reference
- IColligoEnumerable API
- IColligoQueryable API
- Collections API (TColligoList, TColligoArray, TFluentDictionary)
Architecture
Scope
- Covers: lazy in-memory collection pipelines; SQL-backed DB pipelines via
IColligoQueryable<T>; fluent collections (TColligoList<T>,TColligoArray<T>,TFluentDictionary<K,V>); nullable value helpers (ColligoNullable<T>). - Does not cover: JSON/XML providers (
Colligo.Json,Colligo.Xml) — these units are stubs not yet implemented.