logo       

[ ghc-Bugs-1328256 ] GLUT: Visibility doc flipped: msg#00025

lang.haskell.glasgow.bugs

Subject: [ ghc-Bugs-1328256 ] GLUT: Visibility doc flipped

Bugs item #1328256, was opened at 2005-10-16 17:19
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1328256&group_id=8032

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: libraries (other)
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: GLUT: Visibility doc flipped

Initial Comment:
The documentation for the Visibility datatype is flipped.

The problem is in the Window Callbacks page for GLUT:
http://www.haskell.org/ghc/docs/latest/html/libraries/GLUT/Graphics.UI.GLUT.Callbacks.Window.html

source:
http://cvs.haskell.org/cgi-bin/cvsweb.cgi/fptools/libraries/GLUT/Graphics/UI/GLUT/Callbacks/Window.hs

The documentation for the two constructors, NotVisible
and Visible, is inverted. It is almost certain that
the order of the constructors was chosen to conform
with the "False < True" semantics, and therefore the
documentation should be swapped instead of swapping the
constructors.

The error was introduced when the constructors were
added in version 1.4, and has not been altered since.

Eric Etheridge
etherson @ yahoo . com

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1328256&group_id=8032


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

News | FAQ | advertise