logo       

Re: [ 1213876 ] Xlib Types Not Instances of Anything: msg#00072

lang.haskell.glasgow.bugs

Subject: Re: [ 1213876 ] Xlib Types Not Instances of Anything

ross@xxxxxxxxxxxxxx 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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise