Hacker News new | past | comments | ask | show | jobs | submit login

This isn't totally unusual. In language like Haskell you can put something with a maximally general type (a "bottom", e.g. `undefined`) in as a placeholder anywhere in the program and your compile will go through. If you want to get even fancier you can put a "typed hole" that says something like "I don't know exactly what this is yet, but it's definitely going to return a list of ints".



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

Search: