u/Kyraimionin r/haskell • Recommends
On “Video Tutorial: "Existentials and writing functions for length-indexed vectors" (Richard Eisenberg)”
#typefamilies#dependenttypes#type-levelprogramming
5K subscribers • 25 videos on Hallway
Advanced. Deep dive for people who know the field.
1.6K views5 years ago1 recommendation
Programming languagesHaskellLanguage design and type systems
Richard Eisenberg explains how to use Haskell type families to define operations where the output vector length is computed from input lengths.
This is the third installment in a series about exploring type-level programming through length-indexed vectors. This one covers type families, and how we need them to write operations where the output length must be computed from the input length(s). First in the series, focusing on GADTs: youtu.be/PHS3Q-tRjFQ Second in the series, focusing on singletons: youtu.be/WHeBxSBY0fc Finished code to follow along: github.com/goldfirere/video-resources/blob/main/2021-04-27-v… Find me at richarde.dev/ or on Twitter at @RaeHaskellWhat people say. Recommended as part of a series explaining type-level programming and dependent types in Haskell.
u/Kyraimionin r/haskell • Recommends
On “Video Tutorial: "Existentials and writing functions for length-indexed vectors" (Richard Eisenberg)”
u/Kyraimionin r/haskell • Recommends
On “Video: "Some functions on length-indexed vectors require custom GADTs" (Richard Eisenberg); Part 6 in the series on type level programming”
u/Kyraimionin r/haskell • Recommends
On “Video Tutorial: "How to program in types with length-indexed vectors: Part 1" (Richard Eisenberg)”
u/Kyraimionin r/haskell • Recommends
On “Video Tutorial: "Using proofs to make functions faster over length-indexed vectors" (Richard Eisenberg)”