Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What sorts of things can you do in the Haskell type system that you would not be able to do with the Go generics proposal?


Higher-kinded types? Monads, etc.


Couldn't one define Monads, etc. with interfaces, once they allow generics?

(there's nothing in Haskell which enforces the category laws in the typesystem, afaik)




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: