cvs commit: fptools/libraries/OpenGL/Graphics/Rendering/OpenGL/GL StateVar.hs

Sven Panne panne@glass.cse.ogi.edu
Mon, 12 May 2003 11:05:03 -0700


panne       2003/05/12 11:05:02 PDT

  Modified files:
    libraries/OpenGL/Graphics/Rendering/OpenGL/GL StateVar.hs 
  Log:
  A fixity of "infixr 2" seems to be a better choice for $=, because
  this way things like
  
     when True $ x $= True || False >> y $= 1 + 2
  
  work like expected, i.e. the above is equivalent to
  
     when True $ do
        x $= (True || False)
        y $= (1 + 2)
  
  Revision  Changes    Path
  1.4       +1 -1      fptools/libraries/OpenGL/Graphics/Rendering/OpenGL/GL/StateVar.hs