[ 1213876 ] Xlib Types Not Instances of Anything

Jonathan Cast jcast at ou.edu
Sun Jul 10 21:37:17 EDT 2005


ross at soi.city.ac.uk wrote:
> > The  types defined  by  newtype in  Graphics.X11.Xlib.Types are  not
> > instances of any  type classes. Ptr, on the  other hand, which these
> > types are synonyms  for, is an instance of  Eq, Ord, Show, Typeable,
> > Data, Storable, and several other  classes not relevant to the usage
> > of pointers in Graphics.X11.Xlib.
> 
> Which instances do you want added?

Sorry;  I thought that  was clear:  Eq, Ord,  Show, Typeable,  Data, and
Storable  instances   for  Display,  Screen,   Visual,  FontStruct,  GC,
XGCValues, and XSetWindowAttributes.

Jon Cast



More information about the Glasgow-haskell-bugs mailing list