From: | "Sergei Trofimovich (slyfox)" <slyfox@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-haskell/opengl/files: opengl-2.9.2.0-ghc-7.10.patch |
Date: | Sat, 01 Aug 2015 16:33:22 |
Message-Id: | 20150801163317.24F7611F@oystercatcher.gentoo.org |
1 | slyfox 15/08/01 16:33:17 |
2 | |
3 | Added: opengl-2.9.2.0-ghc-7.10.patch |
4 | Log: |
5 | Version bump. |
6 | |
7 | (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 611FF3AA) |
8 | |
9 | Revision Changes Path |
10 | 1.1 dev-haskell/opengl/files/opengl-2.9.2.0-ghc-7.10.patch |
11 | |
12 | 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 |
13 | 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 |
14 | |
15 | Index: opengl-2.9.2.0-ghc-7.10.patch |
16 | =================================================================== |
17 | diff --git a/Graphics/Rendering/OpenGL/GL/IOState.hs b/Graphics/Rendering/OpenGL/GL/IOState.hs |
18 | index 6fbc144..2c2a42d 100644 |
19 | --- a/Graphics/Rendering/OpenGL/GL/IOState.hs |
20 | +++ b/Graphics/Rendering/OpenGL/GL/IOState.hs |
21 | @@ -21 +21,2 @@ module Graphics.Rendering.OpenGL.GL.IOState ( |
22 | -import Control.Monad(replicateM) |
23 | +import Control.Applicative |
24 | +import Control.Monad(replicateM,ap) |
25 | @@ -31,0 +33,4 @@ instance Functor (IOState s) where |
26 | +instance Applicative (IOState s) where |
27 | + pure = return |
28 | + (<*>) = ap -- defined in Control.Monad |
29 | + |