Opened 11 years ago

Closed 9 years ago

Last modified 9 years ago

#988 closed feature request (invalid)

X11: refine types for improved type safety

Reported by: ross Owned by:
Priority: normal Milestone: Not GHC
Component: libraries (other) Version: 6.6
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


The library interface uses integral types all over the place instead of enumerations and newtypes, which would give greater type safety.

Fixing this would be an incompatible change, of course.

Change History (5)

comment:1 Changed 11 years ago by igloo

Milestone: Not GHC

comment:2 Changed 9 years ago by igloo

Resolution: invalid
Status: newclosed

No longer an extralib, so closing the bug. I've forwarded it to Don.

comment:3 Changed 9 years ago by dons

A more richly typed wrapper would be a welcome addition (or separate library).

comment:4 Changed 9 years ago by simonmar

Architecture: UnknownUnknown/Multiple

comment:5 Changed 9 years ago by simonmar

Operating System: UnknownUnknown/Multiple
Note: See TracTickets for help on using tickets.