Link Details

Link 83071 thumbnail
User 107114 avatar

By daniel
via existentialtype.net
Published: May 29 2008 / 18:38

Following on my earlier entry on modules in Scala, I'll give an encoding of Standard ML style functors here. You can get a pretty close approximation by using class constructor arguments. However, I am going to cheat a little to get the closest encoding I think is possible by using the experimental support for dependent method types.
  • 9
  • 0
  • 927
  • 161

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (9)



Voters Against This Link (0)