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

And you can generalize from wantarray's Boolean to a more general parameter indicating required return type.

It gets harder and harder though, to provide information about more and more distant parts of the program in a dynamically typed (or untyped) environment.

From what I've heard, Racket's contract system is another interesting attempt to provide something that's typically done in a static setting---the benefits of dependent typing---in a dynamic one.



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

Search: