User loginNavigation |
archivesAbstracting over Type Constructors using Dynamics in C#I've posted a few times on encoding tagless interpreters in C#. Unfortunately, C# and the CLR don't support type constructor polymorphism, so after much sweat and tears I had developed a mostly type safe encoding using downcasts. I've never fully described this translation from ML modules and signatures to C# classes and interfaces in plain English, but a recent Stack Overflow question on that exact subject spurred me to describe it fully. Perhaps people here forced to work in Java and/or C# will find it useful: By naasking at 2009-10-05 19:27 | LtU Forum | login or register to post comments | other blogs | 6663 reads
|
Browse archivesActive forum topics |
Recent comments
36 weeks 9 hours ago
36 weeks 12 hours ago
36 weeks 13 hours ago
1 year 6 weeks ago
1 year 10 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 14 weeks ago
1 year 19 weeks ago
1 year 19 weeks ago