Re: What happened to constrFields?

2004-05-09 Thread Ralf Laemmel
The problem is that constrFields is not included with 6.2.1.
You would need to build GHC from CVS.
It will be in 6.4 for sure.
And yes, you are right, there is no other way to get the names
of all fields of a constructor.
Ralf

Stefan Reich wrote:

In recent versions of the GHC libraries, constrFields (as defined here 
http://www.cs.vu.nl/boilerplate/library/Data.Generics.Basics.html) has 
disappeared. I failed to figure out another way to get the names of 
all fields of a constructor.

Have I overlooked anything? Do I have to use Template Haskell?

-Stefan

___
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


___
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


What happened to constrFields?

2004-05-09 Thread Stefan Reich
In recent versions of the GHC libraries, constrFields (as defined here 
http://www.cs.vu.nl/boilerplate/library/Data.Generics.Basics.html) has 
disappeared. I failed to figure out another way to get the names of all 
fields of a constructor.

Have I overlooked anything? Do I have to use Template Haskell?

-Stefan

___
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users