
Episode 15 · Season 1
Tech Talk: Dependent Types in Haskell with Stephanie Weirich
About this episode
Tech Talks are in-depth technical discussions.
At Strange loop 2017, a wandered into a talk where I saw some code that deeply surprised me. The code could have been python if you squinted, passing dictionaries around, no type annotations anywhere.
Yet key look up in the dictionary was validated at compile time. It was a compile time error to access elements that didn't exist. Also the dictionary was heterogeneous, the elements had different types, and it was all inferred and validated at compile time.
What I was seeing was Dependent types in Haskell. In today's interview Stephanie Weirich explains her efforts to add dependent types to haskell and how that example worked.
Shows Notes:
More from CoRecursive: Coding Stories
I found a comment on the Call of Duty Mobile subreddit. Kevffinn: COMPUTERS CANNOT GENERATE RANDOM NUMBERS AND ANY SUGGESTION OTHERWISE IS FRAUDULENT. I'm not sure about the fraud part, but what does…
I texted Don about a side gig: €5,000 for every 1% you shave off a zip file. It's a real contest. For 20 years, Marcus Hutter has offered €500,000 to anyone who can losslessly compress a gigabyte of W…
I've been trying to understand how machine learning actually works. Not use it, understand it, down to the ifs and loops. How does a program built out of plain conditionals get better on its own? So l…
I've been confusing Don with frontier-lab links late at night for a bit. Ilya Sutskever told a NeurIPS audience that pre-training as we know it would unquestionably end. There's only one internet, and…
Kate Gregory has been writing C++ for over forty years. Books, keynotes, a consulting firm she built from the ground up. At sixty-three, she's one of the most experienced programmers alive. She survey…