Skip to content

Commit bce46f3

Browse files
committed
Remove lens and linear dependencies from examples
1 parent ac67f0f commit bce46f3

26 files changed

+63
-78
lines changed

examples/OpenGLExample.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module OpenGLExample where
66

77
import Control.Monad
88
import Foreign.C.Types
9-
import Linear
9+
import SDL.Vect
1010
import qualified Data.ByteString as BS
1111
import qualified Data.Vector.Storable as V
1212
import System.Exit (exitFailure)

examples/lazyfoo/Lesson01.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module Lazyfoo.Lesson01 (main) where
33

44
import Control.Concurrent (threadDelay)
55
import Foreign.C.Types
6-
import Linear
6+
import SDL.Vect
77
import qualified SDL
88

99
screenWidth, screenHeight :: CInt

examples/lazyfoo/Lesson02.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module Lazyfoo.Lesson02 (main) where
33

44
import Control.Concurrent (threadDelay)
55
import Foreign.C.Types
6-
import Linear
6+
import SDL.Vect
77
import qualified SDL
88

99
import Paths_sdl2 (getDataFileName)

examples/lazyfoo/Lesson03.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module Lazyfoo.Lesson03 (main) where
66

77
import Control.Monad
88
import Foreign.C.Types
9-
import Linear
9+
import SDL.Vect
1010
import qualified SDL
1111

1212
import Paths_sdl2 (getDataFileName)

examples/lazyfoo/Lesson04.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import Data.Foldable
1111
import Data.Maybe
1212
import Data.Monoid
1313
import Foreign.C.Types
14-
import Linear
14+
import SDL.Vect
1515
import qualified SDL
1616

1717
import Paths_sdl2 (getDataFileName)

examples/lazyfoo/Lesson05.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module Lazyfoo.Lesson05 (main) where
44

55
import Control.Monad
66
import Foreign.C.Types
7-
import Linear
7+
import SDL.Vect
88
import qualified SDL
99

1010
import Paths_sdl2 (getDataFileName)

examples/lazyfoo/Lesson07.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module Lazyfoo.Lesson07 (main) where
44

55
import Control.Monad
66
import Foreign.C.Types
7-
import Linear
7+
import SDL.Vect
88
import SDL (($=))
99
import qualified SDL
1010

examples/lazyfoo/Lesson08.hs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ module Lazyfoo.Lesson08 (main) where
55
import Control.Monad
66
import Data.Foldable (for_)
77
import Foreign.C.Types
8-
import Linear
9-
import Linear.Affine
8+
import SDL.Vect
109
import SDL (($=))
1110
import qualified SDL
1211

examples/lazyfoo/Lesson09.hs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ module Lazyfoo.Lesson09 (main) where
44

55
import Control.Monad
66
import Foreign.C.Types
7-
import Linear
8-
import Linear.Affine
7+
import SDL.Vect
98
import SDL (($=))
109
import qualified SDL
1110

examples/lazyfoo/Lesson10.hs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ module Lazyfoo.Lesson10 (main) where
44

55
import Control.Monad
66
import Foreign.C.Types
7-
import Linear
8-
import Linear.Affine
7+
import SDL.Vect
98
import SDL (($=))
109
import qualified SDL
1110

0 commit comments

Comments
 (0)