u/ephrionin r/compsci • Recommends
On “Functional Programming Myths”
#idris#dependenttypes#typetheory
88K subscribers • 114 videos on Hallway • Conference channel
Intermediate. Assumes working knowledge.
30K views12 years ago2 recommendations
Programming languagesComputer scienceFunctional programmingLanguage design and type systemsComputation and complexity
Brian McKenna demonstrates practical examples of dependent typing using the Idris programming language.
Dependent types turn types into a first-class language construct and allows types to be predicated upon values. Allowing types to be controlled by ordinary values allows us to prove many more properties about our programs and enables some interesting forms of metaprogramming. We can do interesting things like write a type-safe printf or verify algebraic laws of data structures - but while dependent types are quickly gaining in popularity, it can be tricky to find examples which are both useful and introductory. This talk will demonstrate some practical dependent typing examples (and not sized vectors) using Idris, a language designed for writing executable programs, rather than just proving theorems. by Brian McKenna (@puf nfresh) Brian McKenna is a small contributor to the Idris and PureScript languages. He also makes video tutorials on writing programs in Idris so that others can get started with dependent types. Brian works professionally as a functional programmer at a startup, using tools such as Scala and Haskell to create products for utility companies.What people say. Recommended for its practical examples of dependent types, including proving time complexity and writing type-safe code.
u/ephrionin r/compsci • Recommends
On “Functional Programming Myths”
u/mirpain r/functionalprogramming • Recommends
On “Is there any research related to reasoning about code performance using type systems?”
u/Condexin r/ProgrammingLanguages • Mentions
On “Do i need to be an expert in type theory to make a PL?”
u/dalaingin r/haskell • Mentions
On “Utility of dependent types?”
u/tyrionitein r/haskell • Mentions
On “Examples of real-world haskell usage where correctness is important (not just type-safety)”
u/theindigamerin r/haskell • Mentions
On “[PDF] Stephen Diehl - Reasoning about Program Behavior Algebraically”
u/foBrowsingin r/haskell • Mentions
On “Complexity monad”
u/Roboguy2in r/ProgrammingLanguages • Mentions
On “To Be Turing Complete, Or Not To Be, That is the Question”