by tomp · 9y ago · 0 comments
[1] https://github.com/tomprimozic/type-systems/tree/master/firs...
Edit: although on second thought, just first-class polymorphism isn't enough to fix this... any type system where the function `twice` has the same type as the function `three_times` will exhibit the same problem!
let one = twice (fun o -> o.x) { x = { x = 1 } }