Update stack lts
This commit is contained in:
@@ -34,6 +34,7 @@ import qualified SDL
|
|||||||
import Sound
|
import Sound
|
||||||
import System.Directory
|
import System.Directory
|
||||||
|
|
||||||
|
|
||||||
main :: IO ()
|
main :: IO ()
|
||||||
main = do
|
main = do
|
||||||
-- load the config to get the window size and position
|
-- load the config to get the window size and position
|
||||||
|
|||||||
+133
@@ -1,3 +1,9 @@
|
|||||||
|
/home/justin/Haskell/loop/src/Dodge/Placement/PlaceSpot.hs:159:5-30: warning: [GHC-62161] [-Wincomplete-uni-patterns]
|
||||||
|
Pattern match(es) are non-exhaustive
|
||||||
|
In a pattern binding: Patterns of type ‘[Point2]’ not matched: []
|
||||||
|
|
|
||||||
|
159 | (p : ps) = orderPolygon qs
|
||||||
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
/home/justin/Haskell/loop/src/Dodge/Update.hs:319:30-33: warning: [-Wunused-matches]
|
/home/justin/Haskell/loop/src/Dodge/Update.hs:319:30-33: warning: [-Wunused-matches]
|
||||||
Defined but not used: ‘ssel’
|
Defined but not used: ‘ssel’
|
||||||
|
|
|
|
||||||
@@ -18,3 +24,130 @@
|
|||||||
|
|
|
|
||||||
351 | shiftInvItemsDown (_,i) (_,j) (Just (_,k)) w = w
|
351 | shiftInvItemsDown (_,i) (_,j) (Just (_,k)) w = w
|
||||||
| ^
|
| ^
|
||||||
|
/home/justin/Haskell/loop/src/Dodge/Room/RezBox.hs:54:22: warning: [GHC-47082] [-Woperator-whitespace-ext-conflict]
|
||||||
|
The prefix use of a ‘$’ would denote an untyped splice
|
||||||
|
were the TemplateHaskell extension enabled.
|
||||||
|
Suggested fix: Add whitespace after the ‘$’.
|
||||||
|
|
|
||||||
|
54 | shuffleLinks $(roomRectAutoLinks w h){_rmPmnts = []}
|
||||||
|
| ^
|
||||||
|
/home/justin/Haskell/loop/src/Dodge/Room/RezBox.hs:120:44: warning: [GHC-47082] [-Woperator-whitespace-ext-conflict]
|
||||||
|
The prefix use of a ‘$’ would denote an untyped splice
|
||||||
|
were the TemplateHaskell extension enabled.
|
||||||
|
Suggested fix: Add whitespace after the ‘$’.
|
||||||
|
|
|
||||||
|
120 | let n = length $ filter bottomEdgeTest $_rmLinks centralRoom
|
||||||
|
| ^
|
||||||
|
/home/justin/Haskell/loop/src/Dodge/Room/RezBox.hs:122:29: warning: [GHC-47082] [-Woperator-whitespace-ext-conflict]
|
||||||
|
The prefix use of a ‘$’ would denote an untyped splice
|
||||||
|
were the TemplateHaskell extension enabled.
|
||||||
|
Suggested fix: Add whitespace after the ‘$’.
|
||||||
|
|
|
||||||
|
122 | tToBTree "rezBoxes" $treeFromTrunk [rezBox thecol, door] $
|
||||||
|
| ^
|
||||||
|
/home/justin/Haskell/loop/src/Dodge/HeldUse.hs:177:5-59: warning: [GHC-62161] [-Wincomplete-uni-patterns]
|
||||||
|
Pattern match(es) are non-exhaustive
|
||||||
|
In a pattern binding:
|
||||||
|
Patterns of type ‘([Float], StdGen)’ not matched:
|
||||||
|
([], _)
|
||||||
|
([_], _)
|
||||||
|
([_, _], _)
|
||||||
|
([_, _, _], _)
|
||||||
|
|
|
||||||
|
177 | (a : b : c : d : _, g) = runState thestate $ _randGen w -- randomRs (2, 20) (_randGen w)
|
||||||
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
/home/justin/Haskell/loop/src/RandomHelp.hs:36:9-35: warning: [GHC-62161] [-Wincomplete-uni-patterns]
|
||||||
|
Pattern match(es) are non-exhaustive
|
||||||
|
In a pattern binding:
|
||||||
|
Patterns of type ‘([a], [a])’ not matched: (_, [])
|
||||||
|
|
|
||||||
|
36 | let (zs, w : ws) = splitAt i ys
|
||||||
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
/home/justin/Haskell/loop/src/RandomHelp.hs:51:17-46: warning: [GHC-62161] [-Wincomplete-uni-patterns]
|
||||||
|
Pattern match(es) are non-exhaustive
|
||||||
|
In a pattern binding:
|
||||||
|
Patterns of type ‘([b], [b])’ not matched: (_, [])
|
||||||
|
|
|
||||||
|
51 | let (as, b : bs) = splitAt rand ys
|
||||||
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
/home/justin/Haskell/loop/src/Multiset.hs:50:9: warning: [GHC-62161] [-Wincomplete-uni-patterns]
|
||||||
|
Pattern match(es) are non-exhaustive
|
||||||
|
In a pattern binding: Patterns of type ‘[a]’ not matched: []
|
||||||
|
|
|
||||||
|
50 | (q:qs) = take (n-k+1) ys
|
||||||
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
/home/justin/Haskell/loop/src/Dodge/Render/Connectors.hs:41:5: warning: [GHC-62161] [-Wincomplete-uni-patterns]
|
||||||
|
Pattern match(es) are non-exhaustive
|
||||||
|
In a pattern binding:
|
||||||
|
Patterns of type ‘(Maybe Float, Maybe Float)’ not matched:
|
||||||
|
(Nothing, _)
|
||||||
|
((Just _), Nothing)
|
||||||
|
|
|
||||||
|
41 | (Just ymin,Just ymax) = minAndMax $ y : map (^._y) sps
|
||||||
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
/home/justin/Haskell/loop/src/Dodge/Particle/Draw.hs:15:5: warning: [GHC-62161] [-Wincomplete-uni-patterns]
|
||||||
|
Pattern match(es) are non-exhaustive
|
||||||
|
In a pattern binding:
|
||||||
|
Patterns of type ‘[Geometry.Data.Point2]’ not matched: []
|
||||||
|
|
|
||||||
|
15 | (sp : ps) = _lzPoints pt
|
||||||
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
/home/justin/Haskell/loop/src/Polyhedra.hs:68:5: warning: [GHC-62161] [-Wincomplete-uni-patterns]
|
||||||
|
Pattern match(es) are non-exhaustive
|
||||||
|
In a pattern binding:
|
||||||
|
Patterns of type ‘[Point3]’ not matched:
|
||||||
|
[]
|
||||||
|
[_]
|
||||||
|
[_, _]
|
||||||
|
|
|
||||||
|
68 | (a:b:c:_) = xs
|
||||||
|
| ^^^^^^^^^^^^^^
|
||||||
|
/home/justin/Haskell/loop/src/Polyhedra/Geodesic.hs:59:5: warning: [GHC-62161] [-Wincomplete-uni-patterns]
|
||||||
|
Pattern match(es) are non-exhaustive
|
||||||
|
In a pattern binding:
|
||||||
|
Patterns of type ‘[[a]]’ not matched:
|
||||||
|
[]
|
||||||
|
[_]
|
||||||
|
|
|
||||||
|
59 | (f0:f1:fs) = rotateTo ((== n) . head) vss
|
||||||
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
/home/justin/Haskell/loop/src/SimpleTrie.hs:36:13: warning: [GHC-62161] [-Wincomplete-uni-patterns]
|
||||||
|
Pattern match(es) are non-exhaustive
|
||||||
|
In a pattern binding: Patterns of type ‘[a]’ not matched: []
|
||||||
|
|
|
||||||
|
36 | let (z : zs) = xs
|
||||||
|
| ^^^^^^^^^^^^^
|
||||||
|
/home/justin/Haskell/loop/src/SimpleTrie.hs:45:13: warning: [GHC-62161] [-Wincomplete-uni-patterns]
|
||||||
|
Pattern match(es) are non-exhaustive
|
||||||
|
In a pattern binding: Patterns of type ‘[(a, c)]’ not matched: []
|
||||||
|
|
|
||||||
|
45 | let ((z1, z2) : zs) = xs
|
||||||
|
| ^^^^^^^^^^^^^^^^^^^^
|
||||||
|
/home/justin/Haskell/loop/src/Dodge/WdP2f.hs:12:13: warning: [GHC-62161] [-Wincomplete-uni-patterns]
|
||||||
|
Pattern match(es) are non-exhaustive
|
||||||
|
In a pattern binding:
|
||||||
|
Patterns of type ‘Maybe (Point2, Point2)’ not matched: Nothing
|
||||||
|
|
|
||||||
|
12 | let Just (a, b) = w ^? cWorld . lWorld . doors . ix drid . drPos
|
||||||
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
/home/justin/Haskell/loop/src/Dodge/Debug/Picture.hs:118:5: warning: [GHC-62161] [-Wincomplete-uni-patterns]
|
||||||
|
Pattern match(es) are non-exhaustive
|
||||||
|
In a pattern binding: Patterns of type ‘[Point2]’ not matched: []
|
||||||
|
|
|
||||||
|
118 | (p : ps) =
|
||||||
|
| ^^^^^^^^^^...
|
||||||
|
/home/justin/Haskell/loop/src/Dodge/Debug/Picture.hs:302:5: warning: [GHC-62161] [-Wincomplete-uni-patterns]
|
||||||
|
Pattern match(es) are non-exhaustive
|
||||||
|
In a pattern binding: Patterns of type ‘[Point2]’ not matched: []
|
||||||
|
|
|
||||||
|
302 | (x : xs) = w ^. wCam . camBoundBox
|
||||||
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
/home/justin/Haskell/loop/src/Tile.hs:36:5: warning: [GHC-62161] [-Wincomplete-uni-patterns]
|
||||||
|
Pattern match(es) are non-exhaustive
|
||||||
|
In a pattern binding:
|
||||||
|
Patterns of type ‘[Point2]’ not matched:
|
||||||
|
[]
|
||||||
|
[_]
|
||||||
|
|
|
||||||
|
36 | (c:d:_) = poly
|
||||||
|
| ^^^^^^^^^^^^^^
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
module Dodge.Block where
|
module Dodge.Block where
|
||||||
|
|
||||||
|
import Control.Monad
|
||||||
import Data.Set (Set)
|
import Data.Set (Set)
|
||||||
import Dodge.Data.MountedObject
|
import Dodge.Data.MountedObject
|
||||||
import Control.Lens
|
import Control.Lens
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ import qualified IntMapHelp as IM
|
|||||||
import Data.List (sortOn)
|
import Data.List (sortOn)
|
||||||
import Control.Applicative
|
import Control.Applicative
|
||||||
import LensHelp
|
import LensHelp
|
||||||
--import Control.Monad
|
import Control.Monad
|
||||||
import Data.Bifunctor
|
import Data.Bifunctor
|
||||||
import Data.Maybe
|
import Data.Maybe
|
||||||
import Dodge.Base
|
import Dodge.Base
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ module Dodge.Creature.State (
|
|||||||
doDamage,
|
doDamage,
|
||||||
) where
|
) where
|
||||||
|
|
||||||
|
import Control.Monad
|
||||||
import Dodge.Targeting.Draw
|
import Dodge.Targeting.Draw
|
||||||
import Dodge.Data.DoubleTree
|
import Dodge.Data.DoubleTree
|
||||||
import qualified Data.Map.Strict as M
|
import qualified Data.Map.Strict as M
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ module Dodge.HeldUse (
|
|||||||
mcUseHeld,
|
mcUseHeld,
|
||||||
) where
|
) where
|
||||||
|
|
||||||
|
import Control.Monad
|
||||||
import Color
|
import Color
|
||||||
import Data.Maybe
|
import Data.Maybe
|
||||||
import Dodge.Base.Collide
|
import Dodge.Base.Collide
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ import Dodge.Item
|
|||||||
import Dodge.Room
|
import Dodge.Room
|
||||||
import Dodge.Tree
|
import Dodge.Tree
|
||||||
import RandomHelp
|
import RandomHelp
|
||||||
|
import Control.Monad
|
||||||
|
|
||||||
bossKeyItems :: RandomGen g => [(State g (Tree Room), State g ItemType)]
|
bossKeyItems :: RandomGen g => [(State g (Tree Room), State g ItemType)]
|
||||||
bossKeyItems = [(return . cleatOnward <$> bossRoom autoCrit, takeOne [HELD PISTOL])]
|
bossKeyItems = [(return . cleatOnward <$> bossRoom autoCrit, takeOne [HELD PISTOL])]
|
||||||
|
|||||||
@@ -84,7 +84,7 @@ placeSpotRoomRand ::
|
|||||||
GenWorld ->
|
GenWorld ->
|
||||||
((GenWorld, Room), [Placement])
|
((GenWorld, Room), [Placement])
|
||||||
placeSpotRoomRand rm i f plmnt w =
|
placeSpotRoomRand rm i f plmnt w =
|
||||||
let (ps, g) = runState (_rmRandPSs rm !! i) $_randGen (_gwWorld w)
|
let (ps, g) = runState (_rmRandPSs rm !! i) $ w ^. gwWorld . randGen
|
||||||
in placeSpot (w & gwWorld . randGen .~ g, rm) (plmnt & plSpot .~ f ps)
|
in placeSpot (w & gwWorld . randGen .~ g, rm) (plmnt & plSpot .~ f ps)
|
||||||
|
|
||||||
placeSpotID :: PlacementSpot -> PSType -> GenWorld -> (Int, GenWorld)
|
placeSpotID :: PlacementSpot -> PSType -> GenWorld -> (Int, GenWorld)
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ module Dodge.Projectile.Update
|
|||||||
( updateProjectile
|
( updateProjectile
|
||||||
) where
|
) where
|
||||||
|
|
||||||
|
import Control.Monad
|
||||||
import Dodge.Movement.Turn
|
import Dodge.Movement.Turn
|
||||||
import NewInt
|
import NewInt
|
||||||
import Dodge.Payload
|
import Dodge.Payload
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
module Dodge.Prop.Gib where
|
module Dodge.Prop.Gib where
|
||||||
|
|
||||||
|
import Control.Monad
|
||||||
import Color
|
import Color
|
||||||
import Data.Foldable
|
import Data.Foldable
|
||||||
import Data.List (zip4)
|
import Data.List (zip4)
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ import Dodge.Tree
|
|||||||
import Geometry
|
import Geometry
|
||||||
import LensHelp
|
import LensHelp
|
||||||
import RandomHelp
|
import RandomHelp
|
||||||
|
import Control.Monad
|
||||||
|
|
||||||
roomGlassOctogon ::
|
roomGlassOctogon ::
|
||||||
-- | Size
|
-- | Size
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ import Dodge.Tree
|
|||||||
import Geometry
|
import Geometry
|
||||||
import LensHelp
|
import LensHelp
|
||||||
import RandomHelp
|
import RandomHelp
|
||||||
|
import Control.Monad
|
||||||
|
|
||||||
roomsContaining :: RandomGen g => [Creature] -> [Item] -> State g (MetaTree Room String)
|
roomsContaining :: RandomGen g => [Creature] -> [Item] -> State g (MetaTree Room String)
|
||||||
roomsContaining crs its = tToBTree str <$> roomsContaining' crs its
|
roomsContaining crs its = tToBTree str <$> roomsContaining' crs its
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ import Dodge.Tree
|
|||||||
import Geometry
|
import Geometry
|
||||||
import LensHelp
|
import LensHelp
|
||||||
import RandomHelp
|
import RandomHelp
|
||||||
|
import Control.Monad
|
||||||
|
|
||||||
glassLesson :: RandomGen g => State g (Tree Room)
|
glassLesson :: RandomGen g => State g (Tree Room)
|
||||||
glassLesson = do
|
glassLesson = do
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
-- | Rooms containing long doors, probably with a big reveal behind them.
|
-- | Rooms containing long doors, probably with a big reveal behind them.
|
||||||
module Dodge.Room.LongDoor where
|
module Dodge.Room.LongDoor where
|
||||||
|
|
||||||
|
import Control.Monad
|
||||||
import Dodge.LevelGen.Switch
|
import Dodge.LevelGen.Switch
|
||||||
import Data.Maybe
|
import Data.Maybe
|
||||||
import qualified Data.Set as S
|
import qualified Data.Set as S
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
module Dodge.Room.LongRoom where
|
module Dodge.Room.LongRoom where
|
||||||
|
|
||||||
|
import Control.Monad
|
||||||
import qualified Data.Set as S
|
import qualified Data.Set as S
|
||||||
import Data.Tile
|
import Data.Tile
|
||||||
import Dodge.Cleat
|
import Dodge.Cleat
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ module Dodge.Room.Procedural (
|
|||||||
makeGrid,
|
makeGrid,
|
||||||
) where
|
) where
|
||||||
|
|
||||||
|
import Control.Monad
|
||||||
import Tile
|
import Tile
|
||||||
import qualified Data.Set as S
|
import qualified Data.Set as S
|
||||||
import Data.Tile
|
import Data.Tile
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ import Geometry
|
|||||||
import LensHelp
|
import LensHelp
|
||||||
import Padding
|
import Padding
|
||||||
import RandomHelp
|
import RandomHelp
|
||||||
|
import Control.Monad
|
||||||
|
|
||||||
rezBox :: LightSource -> Room
|
rezBox :: LightSource -> Room
|
||||||
rezBox ls =
|
rezBox ls =
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ import Dodge.Room.Room
|
|||||||
import Dodge.Room.RunPast
|
import Dodge.Room.RunPast
|
||||||
import Dodge.Tree
|
import Dodge.Tree
|
||||||
import RandomHelp
|
import RandomHelp
|
||||||
|
import Control.Monad
|
||||||
|
|
||||||
powerFakeout' :: RandomGen g => State g (MetaTree Room String)
|
powerFakeout' :: RandomGen g => State g (MetaTree Room String)
|
||||||
powerFakeout' = tToBTree "powerFakeout'" <$> powerFakeout
|
powerFakeout' = tToBTree "powerFakeout'" <$> powerFakeout
|
||||||
|
|||||||
@@ -14,10 +14,7 @@ import Geometry
|
|||||||
import LensHelp
|
import LensHelp
|
||||||
import RandomHelp
|
import RandomHelp
|
||||||
import Shape
|
import Shape
|
||||||
|
import Control.Monad
|
||||||
--import Data.Maybe
|
|
||||||
--import Data.Tree
|
|
||||||
--import qualified Data.Set as S
|
|
||||||
|
|
||||||
randomTank :: RandomGen g => State g Placement
|
randomTank :: RandomGen g => State g Placement
|
||||||
randomTank =
|
randomTank =
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ A /trunk/ refers to the successive first nodes in lists of children.
|
|||||||
module Dodge.Tree.GenerateStructure
|
module Dodge.Tree.GenerateStructure
|
||||||
where
|
where
|
||||||
import RandomHelp
|
import RandomHelp
|
||||||
|
import Control.Monad
|
||||||
|
|
||||||
import Data.Tree
|
import Data.Tree
|
||||||
{- Single branched tree (a trunk). -}
|
{- Single branched tree (a trunk). -}
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ module Dodge.WorldEvent.Explosion (
|
|||||||
|
|
||||||
--import Geometry.Vector3D
|
--import Geometry.Vector3D
|
||||||
|
|
||||||
|
import Control.Monad
|
||||||
import Data.List
|
import Data.List
|
||||||
import Dodge.Base.Collide
|
import Dodge.Base.Collide
|
||||||
import Dodge.Data.World
|
import Dodge.Data.World
|
||||||
|
|||||||
+11
-8
@@ -1,15 +1,16 @@
|
|||||||
{- Helpers for random generation. -}
|
{- Helpers for random generation. -}
|
||||||
module RandomHelp
|
module RandomHelp (
|
||||||
( module System.Random
|
module System.Random,
|
||||||
, module Control.Monad.State
|
module Control.Monad.State,
|
||||||
, module RandomHelp
|
module RandomHelp,
|
||||||
) where
|
) where
|
||||||
import Geometry
|
|
||||||
import StrictHelp
|
|
||||||
|
|
||||||
import System.Random
|
import Control.Monad
|
||||||
import Control.Monad.State
|
import Control.Monad.State
|
||||||
import Data.List
|
import Data.List
|
||||||
|
import Geometry
|
||||||
|
import StrictHelp
|
||||||
|
import System.Random
|
||||||
|
|
||||||
randomRanges :: (Random a, RandomGen g) => [a] -> State g a
|
randomRanges :: (Random a, RandomGen g) => [a] -> State g a
|
||||||
randomRanges = join . takeOne . f
|
randomRanges = join . takeOne . f
|
||||||
@@ -46,7 +47,8 @@ takeN i xs = fst <$> takeNMore i ([],xs)
|
|||||||
shuffle :: RandomGen g => [a] -> State g [a]
|
shuffle :: RandomGen g => [a] -> State g [a]
|
||||||
shuffle xs = do
|
shuffle xs = do
|
||||||
rands <- forM [0 .. length xs -1] $ \i -> state $ randomR (0, i)
|
rands <- forM [0 .. length xs -1] $ \i -> state $ randomR (0, i)
|
||||||
let f ys rand = let (as,b:bs) = splitAt rand ys
|
let f ys rand =
|
||||||
|
let (as, b : bs) = splitAt rand ys
|
||||||
in (as ++ bs, b)
|
in (as ++ bs, b)
|
||||||
let (_, zs) = mapAccumR f xs rands
|
let (_, zs) = mapAccumR f xs rands
|
||||||
return $ forceElements zs `seq` zs
|
return $ forceElements zs `seq` zs
|
||||||
@@ -117,6 +119,7 @@ randsSpread (a,b) i
|
|||||||
|
|
||||||
randsOnCirc :: RandomGen g => Int -> State g [Float]
|
randsOnCirc :: RandomGen g => Int -> State g [Float]
|
||||||
randsOnCirc = randsSpread (0, 2 * pi)
|
randsOnCirc = randsSpread (0, 2 * pi)
|
||||||
|
|
||||||
--randsOnCirc i
|
--randsOnCirc i
|
||||||
-- | i <= 0 = error "tried to take <= 0 randsOnCirc"
|
-- | i <= 0 = error "tried to take <= 0 randsOnCirc"
|
||||||
-- | otherwise = zipWith (+) [x,2*x..] <$> replicateM i (state $ randomR (0,x))
|
-- | otherwise = zipWith (+) [x,2*x..] <$> replicateM i (state $ randomR (0,x))
|
||||||
|
|||||||
+2
-1
@@ -19,7 +19,8 @@
|
|||||||
# resolver: https://example.com/snapshots/2018-01-01.yaml
|
# resolver: https://example.com/snapshots/2018-01-01.yaml
|
||||||
#resolver: lts-17.1
|
#resolver: lts-17.1
|
||||||
#resolver: lts-18.28
|
#resolver: lts-18.28
|
||||||
resolver: lts-19.20
|
#resolver: lts-19.20
|
||||||
|
resolver: lts-22.38
|
||||||
#resolver: lts-22.25
|
#resolver: lts-22.25
|
||||||
#resolver: lts-19.3
|
#resolver: lts-19.3
|
||||||
|
|
||||||
|
|||||||
@@ -4015,7 +4015,7 @@ doOutPlacements src/Dodge/Layout.hs 102;" f
|
|||||||
doP2Ac src/Dodge/CreatureEffect.hs 69;" f
|
doP2Ac src/Dodge/CreatureEffect.hs 69;" f
|
||||||
doP2Imp src/Dodge/CreatureEffect.hs 33;" f
|
doP2Imp src/Dodge/CreatureEffect.hs 33;" f
|
||||||
doPrWdLsLs src/Dodge/PrWdLsLs.hs 8;" f
|
doPrWdLsLs src/Dodge/PrWdLsLs.hs 8;" f
|
||||||
doPreload appDodge/Main.hs 130;" f
|
doPreload appDodge/Main.hs 131;" f
|
||||||
doPressPlateEvent src/Dodge/PressPlate.hs 8;" f
|
doPressPlateEvent src/Dodge/PressPlate.hs 8;" f
|
||||||
doPropUpdates src/Dodge/Prop/Update.hs 36;" f
|
doPropUpdates src/Dodge/Prop/Update.hs 36;" f
|
||||||
doQuickload src/Dodge/Save.hs 82;" f
|
doQuickload src/Dodge/Save.hs 82;" f
|
||||||
@@ -4027,7 +4027,7 @@ doRoomOutPlacements src/Dodge/Layout.hs 107;" f
|
|||||||
doRoomPlacements src/Dodge/Layout.hs 122;" f
|
doRoomPlacements src/Dodge/Layout.hs 122;" f
|
||||||
doRoomShift src/Dodge/Room/Link.hs 33;" f
|
doRoomShift src/Dodge/Room/Link.hs 33;" f
|
||||||
doScopeZoom src/Dodge/Update/Camera.hs 141;" f
|
doScopeZoom src/Dodge/Update/Camera.hs 141;" f
|
||||||
doSideEffects appDodge/Main.hs 117;" f
|
doSideEffects appDodge/Main.hs 118;" f
|
||||||
doStep src/Dodge/ArcStep.hs 9;" f
|
doStep src/Dodge/ArcStep.hs 9;" f
|
||||||
doStrategyActions src/Dodge/Creature/ReaderUpdate.hs 164;" f
|
doStrategyActions src/Dodge/Creature/ReaderUpdate.hs 164;" f
|
||||||
doTerminalBootProgram src/Dodge/WorldEffect.hs 104;" f
|
doTerminalBootProgram src/Dodge/WorldEffect.hs 104;" f
|
||||||
@@ -4257,7 +4257,7 @@ findWithIx src/ListHelp.hs 123;" f
|
|||||||
fireLoudS src/Dodge/SoundLogic/ExternallyGeneratedSounds.hs 504;" f
|
fireLoudS src/Dodge/SoundLogic/ExternallyGeneratedSounds.hs 504;" f
|
||||||
fireS src/Dodge/SoundLogic/ExternallyGeneratedSounds.hs 332;" f
|
fireS src/Dodge/SoundLogic/ExternallyGeneratedSounds.hs 332;" f
|
||||||
firstBreather src/Dodge/Room/Breather.hs 9;" f
|
firstBreather src/Dodge/Room/Breather.hs 9;" f
|
||||||
firstWorldLoad appDodge/Main.hs 77;" f
|
firstWorldLoad appDodge/Main.hs 78;" f
|
||||||
fixedCoordPictures src/Dodge/Render/Picture.hs 17;" f
|
fixedCoordPictures src/Dodge/Render/Picture.hs 17;" f
|
||||||
fixedSizePicClampArrow src/Dodge/Picture/SizeInvariant.hs 57;" f
|
fixedSizePicClampArrow src/Dodge/Picture/SizeInvariant.hs 57;" f
|
||||||
flDamageInArea src/Dodge/Flame.hs 110;" f
|
flDamageInArea src/Dodge/Flame.hs 110;" f
|
||||||
@@ -4780,7 +4780,7 @@ magV src/Geometry/Vector.hs 160;" f
|
|||||||
magV3 src/Geometry/Vector3D.hs 78;" f
|
magV3 src/Geometry/Vector3D.hs 78;" f
|
||||||
magazineCombinations src/Dodge/Combine/Combinations.hs 41;" f
|
magazineCombinations src/Dodge/Combine/Combinations.hs 41;" f
|
||||||
magenta src/Color.hs 19;" f
|
magenta src/Color.hs 19;" f
|
||||||
main appDodge/Main.hs 37;" f
|
main appDodge/Main.hs 38;" f
|
||||||
main bench/Bench.hs 15;" f
|
main bench/Bench.hs 15;" f
|
||||||
main test/Spec.hs 12;" f
|
main test/Spec.hs 12;" f
|
||||||
mainListCursor src/Dodge/Render/HUD/Carte.hs 51;" f
|
mainListCursor src/Dodge/Render/HUD/Carte.hs 51;" f
|
||||||
@@ -5150,7 +5150,7 @@ playIfFree src/Sound.hs 136;" f
|
|||||||
playPositionalSoundQueue src/Sound.hs 144;" f
|
playPositionalSoundQueue src/Sound.hs 144;" f
|
||||||
playSoundAndUpdate src/Sound.hs 54;" f
|
playSoundAndUpdate src/Sound.hs 54;" f
|
||||||
playSoundQueue src/Sound.hs 131;" f
|
playSoundQueue src/Sound.hs 131;" f
|
||||||
playSoundUnlessRewinding appDodge/Main.hs 110;" f
|
playSoundUnlessRewinding appDodge/Main.hs 111;" f
|
||||||
plusDecoration src/Dodge/Placement/TopDecoration.hs 35;" f
|
plusDecoration src/Dodge/Placement/TopDecoration.hs 35;" f
|
||||||
pmLineLoop src/Shader/Data.hs 107;" f
|
pmLineLoop src/Shader/Data.hs 107;" f
|
||||||
pmLineStrip src/Shader/Data.hs 107;" f
|
pmLineStrip src/Shader/Data.hs 107;" f
|
||||||
@@ -5891,9 +5891,9 @@ textVMirror src/Picture/Base.hs 216;" f
|
|||||||
tflat2 src/Picture/Data.hs 60;" f
|
tflat2 src/Picture/Data.hs 60;" f
|
||||||
tflat3 src/Picture/Data.hs 64;" f
|
tflat3 src/Picture/Data.hs 64;" f
|
||||||
tflat4 src/Picture/Data.hs 68;" f
|
tflat4 src/Picture/Data.hs 68;" f
|
||||||
theCleanup appDodge/Main.hs 74;" f
|
theCleanup appDodge/Main.hs 75;" f
|
||||||
theColumns src/Dodge/Tree/Shift.hs 139;" f
|
theColumns src/Dodge/Tree/Shift.hs 139;" f
|
||||||
theUpdateStep appDodge/Main.hs 102;" f
|
theUpdateStep appDodge/Main.hs 103;" f
|
||||||
thickArc src/Picture/Base.hs 298;" f
|
thickArc src/Picture/Base.hs 298;" f
|
||||||
thickCircle src/Picture/Base.hs 272;" f
|
thickCircle src/Picture/Base.hs 272;" f
|
||||||
thickLine src/Picture/Base.hs 244;" f
|
thickLine src/Picture/Base.hs 244;" f
|
||||||
@@ -6125,7 +6125,7 @@ updateRadarBlips src/Dodge/Update.hs 498;" f
|
|||||||
updateRadarSweep src/Dodge/RadarSweep.hs 25;" f
|
updateRadarSweep src/Dodge/RadarSweep.hs 25;" f
|
||||||
updateRadarSweeps src/Dodge/Update.hs 522;" f
|
updateRadarSweeps src/Dodge/Update.hs 522;" f
|
||||||
updateRandNode src/TreeHelp.hs 108;" f
|
updateRandNode src/TreeHelp.hs 108;" f
|
||||||
updateRenderSplit appDodge/Main.hs 105;" f
|
updateRenderSplit appDodge/Main.hs 106;" f
|
||||||
updateRootItemID src/Dodge/Inventory/Location.hs 37;" f
|
updateRootItemID src/Dodge/Inventory/Location.hs 37;" f
|
||||||
updateScopeZoom src/Dodge/Update/Camera.hs 127;" f
|
updateScopeZoom src/Dodge/Update/Camera.hs 127;" f
|
||||||
updateScopeZoom' src/Dodge/Update/Camera.hs 132;" f
|
updateScopeZoom' src/Dodge/Update/Camera.hs 132;" f
|
||||||
@@ -6264,7 +6264,7 @@ white src/Color.hs 26;" f
|
|||||||
whiteNoiseFadeInS src/Dodge/SoundLogic/ExternallyGeneratedSounds.hs 514;" f
|
whiteNoiseFadeInS src/Dodge/SoundLogic/ExternallyGeneratedSounds.hs 514;" f
|
||||||
whiteNoiseFadeOutS src/Dodge/SoundLogic/ExternallyGeneratedSounds.hs 374;" f
|
whiteNoiseFadeOutS src/Dodge/SoundLogic/ExternallyGeneratedSounds.hs 374;" f
|
||||||
wiToFloat src/Dodge/Room/Modify/Girder.hs 168;" f
|
wiToFloat src/Dodge/Room/Modify/Girder.hs 168;" f
|
||||||
winConfig appDodge/Main.hs 56;" f
|
winConfig appDodge/Main.hs 57;" f
|
||||||
windowLine src/Dodge/Placement/Instance/Wall.hs 48;" f
|
windowLine src/Dodge/Placement/Instance/Wall.hs 48;" f
|
||||||
windowLineType src/Dodge/Placement/Instance/Wall.hs 83;" f
|
windowLineType src/Dodge/Placement/Instance/Wall.hs 83;" f
|
||||||
windowXFloat src/Dodge/Data/Config.hs 61;" f
|
windowXFloat src/Dodge/Data/Config.hs 61;" f
|
||||||
|
|||||||
Reference in New Issue
Block a user