News for hackers. Stuff that matters.
Re:Type Inference from Scratch (2019) [video] by happy_bzy on Monday May 01, 2023 @11:50AM (#35774561)
For ocaml programmers, there is also a lecture about type inference in ocaml: https://cs3110.github.io/textbook/chapters/interp/inference....
Re:Type Inference from Scratch (2019) [video] by jkbbwr on Monday May 01, 2023 @02:10PM (#35776790)
I wish I could find some examples in Kotlin or Rust or Python. Something non-functional
Re:Type Inference from Scratch (2019) [video] by dllthomas on Monday May 01, 2023 @04:07PM (#35778420)
As the language written or checked?
Re:Type Inference from Scratch (2019) [video] by jkbbwr on Wednesday May 03, 2023 @07:20AM (#35800947)
You 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

Re:Type Inference from Scratch (2019) [video] by dllthomas on Wednesday May 03, 2023 @12:26PM (#35804306)
When I have the bandwidth I'll take a look at the video and see if I can translate.
Re:Type Inference from Scratch (2019) [video] by letmeinhere on Monday May 01, 2023 @02:40PM (#35777222)
I read this as "type inference _in_ Scratch" and thought: that language for kids is getting pretty sophisticated!
Re:Type Inference from Scratch (2019) [video] by emmanueloga_ on Monday May 01, 2023 @06:12PM (#35779932)
I like this description by Eli Bendersky [1], which also includes code in python.

1: https://eli.thegreenplace.net/2018/type-inference/