Idris (Lightning Talk)
summary
Side‑by‑side Rust and Idris examples show actual code: length‑indexed vectors let types carry a numeric size so you can declare a list of three ints and get a compile error if you try four; a safe last element function uses a type like no Option for last so the empty case is impossible; demonstrated zip requires equal lengths and a zip‑with‑plus example produces the summed list; the compiler fills boilerplate and types compute values at compile time.
AI-written summary · about
related talks
19mType Theory for the Working Rustacean
41mFunctional Rust - An Exploration
35mLet’s Talk About Rust
26mThe Freedom of Static Typing
33mRust and Haskell, sitting in a tree
39mYou Got Your Idris in My C++! A First Look at Denotational Design
25mType System Tips for the Real World
03mLightning Talk: Interfaces in C++
