slyfox      15/08/01 16:33:17

  Added:                opengl-2.9.2.0-ghc-7.10.patch
  Log:
  Version bump.
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 
611FF3AA)

Revision  Changes    Path
1.1                  dev-haskell/opengl/files/opengl-2.9.2.0-ghc-7.10.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/opengl/files/opengl-2.9.2.0-ghc-7.10.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/opengl/files/opengl-2.9.2.0-ghc-7.10.patch?rev=1.1&content-type=text/plain

Index: opengl-2.9.2.0-ghc-7.10.patch
===================================================================
diff --git a/Graphics/Rendering/OpenGL/GL/IOState.hs 
b/Graphics/Rendering/OpenGL/GL/IOState.hs
index 6fbc144..2c2a42d 100644
--- a/Graphics/Rendering/OpenGL/GL/IOState.hs
+++ b/Graphics/Rendering/OpenGL/GL/IOState.hs
@@ -21 +21,2 @@ module Graphics.Rendering.OpenGL.GL.IOState (
-import Control.Monad(replicateM)
+import Control.Applicative
+import Control.Monad(replicateM,ap)
@@ -31,0 +33,4 @@ instance Functor (IOState s) where
+instance Applicative (IOState s) where
+    pure  = return
+    (<*>) = ap  -- defined in Control.Monad
+




Reply via email to