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

Like trying to take one of these as parameter or return it?



This is a statically typed language mind you. If you're passing something around as values, you're gonna need to declare what its type is (of course there's type inference, but that just turns it into a totally different language)


> If you're passing something around as values, you're gonna need to declare what its type is

I fail to see the relation this has with my issue.


You should need to know whether you require the lambda you're accepting to return some value or not, and its type.


You completely missed the point I was making. Try reading these comments again.




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

Search: