Libra: Reaching for the Stars with Dependent Types
summary
Describes using dependent types, singleton types and generic programming to perform dimensional analysis at compile time so numeric values (doubles, floats, ints) carry and enforce physical dimensions. Presents Libra, a library that encodes units and dimensions in the type system to prevent nonsensical operations (like adding different-dimension quantities) during compilation.
AI-written summary · about
chapters (5)
related talks
25mLinear Types with Dynamic Multiplicities in Dependent Type Theory (Functional Pearl)
43mShape-Constrained Array Programming with Size-Dependent Types
34mFunctional Programming + Dependent Types ≡ Verified Linear..
41mPrograms and Proofs — Dependent Typing as a Way to Structure Your Code
42mProgramming with Math
40mQuantitative Types in Idris 2
58mSeparating Behavior and Data with Type Classes in Scala
31mDependently-Typed Programming with Logical Equality Reflection
