Skip to content

GLUT: Visibility doc flipped

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
Trac metadata
Trac field Value
Version None
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution ResolvedFixed
Component libraries (other)
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information