Opened 9 years ago

Closed 7 years ago

Last modified 7 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: Test Case:
Blocked By: Blocking:
Related Tickets: Differential Revisions:

Description

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 8 years ago by igloo

  • Milestone set to Not GHC

comment:2 Changed 7 years ago by igloo

  • Resolution set to invalid
  • Status changed from new to closed

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

comment:3 Changed 7 years ago by dons

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

comment:4 Changed 7 years ago by simonmar

  • Architecture changed from Unknown to Unknown/Multiple

comment:5 Changed 7 years ago by simonmar

  • Operating System changed from Unknown to Unknown/Multiple
Note: See TracTickets for help on using tickets.