4 ms·
Type Inference from Scratch (2019) [video]
- happy_bzy 4y agoFor ocaml programmers, there is also a lecture about type inference in ocaml: https://cs3110.github.io/textbook/chapters/interp/inference.html https://cs3110.github.io/textbook/chapters/interp/inference....
- jkbbwr 4y agoI wish I could find some examples in Kotlin or Rust or Python. Something non-functional
- dllthomas 4y agoAs the language written or checked?
- jkbbwr 4y agoYou only ever find tutorials on writing type checkers in things like haskell or similar. It is often like that owl joke in art. "Step one draw a circle, step two draw some triangles, step three draw the rest of the fucking owl" and its hard to get into step 3
- dllthomas 4y agoWhen I have the bandwidth I'll take a look at the video and see if I can translate.
- letmeinhere 4y agoI read this as "type inference _in_ Scratch" and thought: that language for kids is getting pretty sophisticated!
- emmanueloga_ 4y agoI like this description by Eli Bendersky [1], which also includes code in python. 1: https://eli.thegreenplace.net/2018/type-inference/ https://eli.thegreenplace.net/2018/type-inference/