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

You can use type aliases in f# and use them like interfaces.



Sure, and so you can in OCaml and Haskell too. The compatibility will still be determined by the name you give that type and not its structure.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: