Tech News
← Home  ·  All topics

Dependent Types

3 GoKawiil briefs on this topic · RSS for dependent types

Free book 'Introduction to Programming in ATS' covers core language features

A new book introduces the ATS programming language, walking readers through functional programming basics, static and dependent types, recursively defined datatypes, polymorphism, linear types, theorem-proving, and template-based programming. The author notes the material is dense and best suited to readers who already have substantial programming experience, despite not formally requiring it.

New Syl language adds modal type system for compile-time dependent types

A developer is building Syl, a programming language that encodes compile-time computation using a modal type system with two mode axes: staticity (static vs dynamic) and erasure (erased vs unerased). The project's compiler is available on GitHub, and its design draws on András Kovács' two-level type theory research and plans for OxCaml.

LeanDB project brings compile-time type checking to SQL schemas and queries

A developer has published an early version of LeanDB, an experimental SQL frontend built in the Lean 4 programming language that lets database schemas, queries and migrations be expressed as strongly typed constructs the compiler can verify. The post walks through Lean 4's dependent type system, showing how types can carry provable conditions—like an age under 150 or a validated email—so invalid data is rejected before code ever runs. It's presented as a first version, with the author inviting feedback on where the design falls short.