
17 May
2008
17 May
'08
7:41 p.m.
I have question on mapping some Haskell concepts to C# 3 ones. Maybe there are not any strict equivalents; yet it helps: 1 - What is the equivalent of "Type Constructor" in C#? 2 - What is the equivalent of "Data Constructor" in C#? 3 - What is the logical implementation of pattern matching in C#? (For example using structures with indicator fields or using interfaces and inheritance and dynamically dispatch in calling overloaded methods. Also this question contain a hidden one...GADTs!) Best Regards -- Kaveh Shahbazian email: kaveh.shahbazian@gmail.com