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

I don't think that's what the OP is talking about.

They want to have a generic function that returns opaque types implementing different interfaces depending on the inputs. I've replied to that above.



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

Search: