[Haskell-cafe] Getting list of constructors of a Type
Alejandro Serrano Mena
trupill at gmail.com
Tue Jun 3 19:13:49 UTC 2014
Dear Haskell-Café,
As part of my Google Summer of Code, I need to get the list of data
constructors of a certain data type on a specific scenario.
In my case, I'm getting a value of type Type (by calling exprType). I was
expecting to be able to call getInfo directly on that value of type Type,
but it doesn't have a name nor the constructors of Type are public. Thus,
I'm not able to get that information :(
Thanks in advance,
Alejandro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20140603/fb46d877/attachment.html>
More information about the Haskell-Cafe
mailing list