[Haskell-cafe] Mapping Haskell Concepts To C# 3

Kaveh Shahbazian kaveh.shahbazian at gmail.com
Sat May 17 15:41:18 EDT 2008


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 at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20080517/aa0c24ac/attachment.htm


More information about the Haskell-Cafe mailing list