Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Odersky: Essence of Scala (scala-lang.org)
4 points by pathikrit on Feb 5, 2016 | hide | past | favorite | 1 comment


Here is the example from @odersky et al http://infoscience.epfl.ch/record/215280/files/paper.pdf showing the utility of path dependent types extracted as a gist.

https://gist.github.com/arnolddevos/09e5f51ce1436f590c7d

To this I added a comparison using type parameters instead.




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

Search: