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

> Maybe a useful approach for a language would be to make "colors" a first-class part of the type system and support them in generics, etc.

This is what languages with higher-kinded types do and it's glorious. In Scala you write your code in terms of a generic monad and then you can reuse it for sync or async.



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

Search: