Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
indocomsoft
· 4y ago · 0 comments
Do you mind elaborating more on Haskell's types driving code generation? Genuinely curious
Comments
[–]
wruza
4y ago
The regular type-based polymorphism/overloading, afair. Just like in C++. Typescript has a way to simulate it, but the code remains the same as if there were no types/overloads.
https://www.typescriptlang.org/docs/handbook/2/functions.htm...