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

I can see that F# still does not support GADTs. Did you find it a serious limitation?


Depends on what you're trying to do. I've never found it to be a limitation but I don't do anything terribly intricate. Just web dev for work, and I wrote a toy language parser and type inferencer in it. There are maybe three lines of code that GADTs might have let me avoid casting in the type inferencer, but oh well. Different use cases that use GADTs to a greater extent, of course, you might miss them. What is your use case, and how much are you reliant on GADTs in your existing daily life?


You can go an entire lifetime without ever even knowing about GADTs. I don’t find their absence limiting at all.




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

Search: