Bump stackage version, uses later version of GHC

This commit is contained in:
2022-08-22 16:56:11 +01:00
parent aeb22fc9d7
commit 715008a030
43 changed files with 141 additions and 124 deletions
+32 -16
View File
@@ -21,12 +21,8 @@ data ActionPlan
, _apStrategy :: Strategy
, _apGoal :: [Goal]
}
deriving (Eq, Ord, Show, Read) --Generic, Flat)
data RandImpulse
= RandImpulseList [Impulse]
| RandImpulseCircMove Float
deriving (Eq, Ord, Show, Read) --Generic, Flat)
--deriving (Eq, Ord, Show, Read) --Generic, Flat)
deriving (Eq, Ord, Show) --Generic, Flat)
data Impulse
= Move Point2
@@ -60,7 +56,14 @@ data Impulse
{ _impulseUseAheadPos :: P2Imp
}
| ImpulseNothing
deriving (Eq, Ord, Show, Read) --Generic, Flat)
--deriving (Eq, Ord, Show, Read) --Generic, Flat)
deriving (Eq, Ord, Show) --Generic, Flat)
data RandImpulse
= RandImpulseList [Impulse]
| RandImpulseCircMove Float
deriving (Eq, Ord, Show) --Generic, Flat)
infixr 9 `WaitThen`
@@ -167,7 +170,8 @@ data Action
{ _sideImpulses :: [Impulse]
, _mainAction :: Action
}
deriving (Eq, Ord, Show, Read) --Generic, Flat)
deriving (Eq, Ord, Show) --Generic, Flat)
--deriving (Eq, Ord, Show, Read) --Generic, Flat)
data Strategy
= Flank Int
@@ -185,20 +189,32 @@ data Strategy
| Reload
| Flee
| MeleeStrike
deriving (Eq, Ord, Show, Read) --Generic, Flat)
deriving (Eq, Ord, Show) --Generic, Flat)
--deriving (Eq, Ord, Show, Read) --Generic, Flat)
data Goal
= LiveLongAndProsper
| Kill Int
| SentinelAt Point2 Float
deriving (Eq, Ord, Show, Read) --Generic, Flat)
deriving (Eq, Ord, Show) --Generic, Flat)
--deriving (Eq, Ord, Show, Read) --Generic, Flat)
concat <$> mapM (deriveJSON defaultOptions)
[ ''Impulse
, ''RandImpulse
, ''Action
, ''Strategy
, ''ActionPlan
, ''Goal
]
--deriveJSON defaultOptions ''Impulse
--deriveJSON defaultOptions ''RandImpulse
--deriveJSON defaultOptions ''Action
--deriveJSON defaultOptions ''Strategy
--deriveJSON defaultOptions ''ActionPlan
--deriveJSON defaultOptions ''Goal
deriveJSON defaultOptions ''ActionPlan
deriveJSON defaultOptions ''RandImpulse
deriveJSON defaultOptions ''Impulse
deriveJSON defaultOptions ''Action
deriveJSON defaultOptions ''Strategy
deriveJSON defaultOptions ''Goal
makeLenses ''ActionPlan
makeLenses ''Impulse
makeLenses ''Action
+2 -2
View File
@@ -52,7 +52,7 @@ data BeamType
makeLenses ''BeamType
makeLenses ''Beam
deriveJSON defaultOptions ''BeamType
deriveJSON defaultOptions ''Beam
deriveJSON defaultOptions ''BeamDraw
deriveJSON defaultOptions ''BeamCombineType
deriveJSON defaultOptions ''BeamType
deriveJSON defaultOptions ''Beam
+3 -3
View File
@@ -13,7 +13,7 @@ import Color
import Control.Lens
import Data.Aeson
import Data.Aeson.TH
import qualified IntSetHelp as IS
import qualified Data.IntSet as IS
import Dodge.Data.Material
import Dodge.Data.PathGraph
import Geometry
@@ -47,6 +47,6 @@ data BlSh
deriving (Eq, Ord, Show, Read) --Generic, Flat)
makeLenses ''Block
deriveJSON defaultOptions ''Block
deriveJSON defaultOptions ''BlockDraw
deriveJSON defaultOptions ''BlSh
deriveJSON defaultOptions ''BlockDraw
deriveJSON defaultOptions ''Block
+1 -1
View File
@@ -54,9 +54,9 @@ data BulletTrajectory
deriving (Show, Eq, Ord, Read) --Generic, Flat)
makeLenses ''Bullet
deriveJSON defaultOptions ''Bullet
deriveJSON defaultOptions ''EnergyBallType
deriveJSON defaultOptions ''BulletUpdateMod
deriveJSON defaultOptions ''BulletEffect
deriveJSON defaultOptions ''BulletSpawn
deriveJSON defaultOptions ''BulletTrajectory
deriveJSON defaultOptions ''Bullet
+1 -1
View File
@@ -66,6 +66,6 @@ data ButtonState = BtOn | BtOff | BtNoLabel
makeLenses ''Button
makeLenses ''ButtonEvent
deriveJSON defaultOptions ''ButtonDraw
deriveJSON defaultOptions ''ButtonState
deriveJSON defaultOptions ''ButtonEvent
deriveJSON defaultOptions ''Button
deriveJSON defaultOptions ''ButtonState
+16 -8
View File
@@ -1,7 +1,7 @@
{-# LANGUAGE DeriveAnyClass #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DeriveAnyClass #-}
module Dodge.Data.CWorld (
module Dodge.Data.CWorld,
@@ -112,6 +112,7 @@ data CWCam = CWCam
, _cwcBoundBox :: [Point2]
, _cwcBoundDist :: (Float, Float, Float, Float) -- NSEW, S and W negative
}
--deriving (Eq, Ord, Show, Read) --Generic, Flat)
data CWorld = CWorld
@@ -186,6 +187,7 @@ data CWorld = CWorld
, _cwTime :: CWTime
, _cwGen :: CWGen
}
--deriving (Eq, Show, Read) --, Generic)
--h--deriving (Eq, Show, Read) --Generic, Flat)
@@ -195,10 +197,10 @@ data CWTime = CWTime
, _worldClock :: Int
, _deathDelay :: Maybe Int
}
--deriving (Eq, Show, Read) --, Generic)
--h--deriving (Eq, Show, Read) --Generic, Flat)
data CWGen = CWGen
{ _cwgParams :: GenParams
, _cwgWorldBounds :: Bounds
@@ -206,6 +208,7 @@ data CWGen = CWGen
, _cwgRoomClipping :: [ConvexPoly]
, _cwgSeed :: Int
}
--deriving (Eq, Ord, Show, Read) --Generic, Flat)
data WorldBeams = WorldBeams
@@ -214,15 +217,20 @@ data WorldBeams = WorldBeams
, _positronBeams :: [Beam]
, _electronBeams :: [Beam]
}
--deriving (Eq, Ord, Show, Read) --Generic, Flat)
deriveJSON defaultOptions ''CWorld
deriveJSON defaultOptions ''WorldBeams
deriveJSON defaultOptions ''CWCam
deriveJSON defaultOptions ''CWGen
deriveJSON defaultOptions ''CWTime
makeLenses ''CWorld
makeLenses ''WorldBeams
makeLenses ''CWCam
makeLenses ''CWGen
makeLenses ''CWTime
concat
<$> mapM
(deriveJSON defaultOptions)
[ ''WorldBeams
, ''CWCam
, ''CWGen
, ''CWTime
, ''CWorld
]
+1 -1
View File
@@ -34,5 +34,5 @@ data CloudType
makeLenses ''Cloud
deriveJSON defaultOptions ''CloudDraw
deriveJSON defaultOptions ''Cloud
deriveJSON defaultOptions ''CloudType
deriveJSON defaultOptions ''Cloud
+2 -2
View File
@@ -8,7 +8,7 @@ module Dodge.Data.CrGroupParams where
import Control.Lens
import Data.Aeson
import Data.Aeson.TH
import qualified IntSetHelp as IS
import qualified Data.IntSet as IS
import Geometry.Data
data CrGroupParams = CrGroupParams
@@ -23,5 +23,5 @@ data CrGroupUpdate = DefaultCrGroupUpdate
deriving (Eq, Ord, Show, Read) --Generic, Flat)
makeLenses ''CrGroupParams
deriveJSON defaultOptions ''CrGroupParams
deriveJSON defaultOptions ''CrGroupUpdate
deriveJSON defaultOptions ''CrGroupParams
+13 -5
View File
@@ -1,8 +1,8 @@
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DeriveAnyClass #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE ScopedTypeVariables #-}
module Dodge.Data.Creature (
module Dodge.Data.Creature,
@@ -73,9 +73,11 @@ data Creature = Creature
, _crStatistics :: CreatureStatistics
, _crCamouflage :: CamouflageStatus
}
--deriving (Eq, Show, Read) --Generic, Flat)
data CreatureCorpse = MakeDefaultCorpse
--deriving (Eq, Ord, Show, Read) --Generic, Flat)
data Intention = Intention
@@ -83,6 +85,7 @@ data Intention = Intention
, _mvToPoint :: Maybe Point2
, _viewPoint :: Maybe Point2
}
--deriving (Eq, Show, Read) --Generic, Flat)
crSel :: Creature -> Int
@@ -90,6 +93,11 @@ crSel = _iselPos . _crInvSel
makeLenses ''Creature
makeLenses ''Intention
deriveJSON defaultOptions ''Creature
deriveJSON defaultOptions ''CreatureCorpse
deriveJSON defaultOptions ''Intention
concat
<$> mapM
(deriveJSON defaultOptions)
[ ''CreatureCorpse
, ''Creature
, ''Intention
]
+1 -1
View File
@@ -84,5 +84,5 @@ deriveJSON defaultOptions ''CreatureStatistics
deriveJSON defaultOptions ''Vocalization
deriveJSON defaultOptions ''CrMvType
deriveJSON defaultOptions ''HumanoidAI
deriveJSON defaultOptions ''CreatureType
deriveJSON defaultOptions ''BarrelType
deriveJSON defaultOptions ''CreatureType
+2 -2
View File
@@ -71,9 +71,9 @@ makeLenses ''Perception
makeLenses ''Vision
makeLenses ''Audition
makeLenses ''Attention
deriveJSON defaultOptions ''Perception
deriveJSON defaultOptions ''Vision
deriveJSON defaultOptions ''Audition
deriveJSON defaultOptions ''Vigilance
deriveJSON defaultOptions ''Attention
deriveJSON defaultOptions ''Awareness
deriveJSON defaultOptions ''Attention
deriveJSON defaultOptions ''Perception
+2 -2
View File
@@ -43,7 +43,7 @@ data Posture
makeLenses ''Stance
makeLenses ''Carriage
makeLenses ''Posture
deriveJSON defaultOptions ''Stance
deriveJSON defaultOptions ''Carriage
deriveJSON defaultOptions ''FootForward
deriveJSON defaultOptions ''Posture
deriveJSON defaultOptions ''Carriage
deriveJSON defaultOptions ''Stance
+2 -2
View File
@@ -9,7 +9,7 @@ import Color
import Control.Lens
import Data.Aeson
import Data.Aeson.TH
import qualified IntSetHelp as IS
import qualified Data.IntSet as IS
import Dodge.Data.Damage
import Geometry.Data
@@ -55,8 +55,8 @@ data CrGroup
makeLenses ''CreatureState
makeLenses ''CrSpState
makeLenses ''CrGroup
deriveJSON defaultOptions ''CreatureState
deriveJSON defaultOptions ''CreatureDropType
deriveJSON defaultOptions ''CrSpState
deriveJSON defaultOptions ''Faction
deriveJSON defaultOptions ''CrGroup
deriveJSON defaultOptions ''CreatureState
+1 -1
View File
@@ -69,8 +69,8 @@ deriveJSON defaultOptions ''CrWdWd
deriveJSON defaultOptions ''IntImp
deriveJSON defaultOptions ''CrImp
deriveJSON defaultOptions ''P2Imp
deriveJSON defaultOptions ''WdCrBl
deriveJSON defaultOptions ''CrBl
deriveJSON defaultOptions ''WdCrBl
deriveJSON defaultOptions ''MCrAc
deriveJSON defaultOptions ''CrAc
deriveJSON defaultOptions ''P2Ac
+1 -1
View File
@@ -26,8 +26,8 @@ data DamageType
| ENTERREMENT
deriving (Eq, Ord, Show, Enum, Bounded, Read) --Generic, Flat)
deriveJSON defaultOptions ''DamageType
instance ToJSONKey DamageType
instance FromJSONKey DamageType
deriveJSON defaultOptions ''DamageType
+1 -1
View File
@@ -13,7 +13,7 @@ module Dodge.Data.Door (
import Control.Lens
import Data.Aeson
import Data.Aeson.TH
import qualified IntSetHelp as IS
import qualified Data.IntSet as IS
import Dodge.Data.MountedObject
import Dodge.Data.PathGraph
import Dodge.Data.WorldEffect
+3 -3
View File
@@ -29,9 +29,9 @@ data EquipPosition
deriving (Eq, Ord)
--deriving (Eq, Ord, Show, Read) --Generic, Flat)
instance ToJSONKey EquipPosition
instance FromJSONKey EquipPosition
deriveJSON defaultOptions ''EquipSite
deriveJSON defaultOptions ''EquipPosition
instance ToJSONKey EquipPosition
instance FromJSONKey EquipPosition
+1 -1
View File
@@ -21,5 +21,5 @@ data DecorationShape = PLUS | SQUARE | CIRCLE | THREELINES
deriving (Eq, Ord, Enum, Show, Read) --Generic, Flat)
makeLenses ''GenParams
deriveJSON defaultOptions ''GenParams
deriveJSON defaultOptions ''DecorationShape
deriveJSON defaultOptions ''GenParams
+1 -1
View File
@@ -35,6 +35,6 @@ data HUD = HUD
makeLenses ''HUD
makeLenses ''HUDElement
makeLenses ''SubInventory
deriveJSON defaultOptions ''HUDElement
deriveJSON defaultOptions ''SubInventory
deriveJSON defaultOptions ''HUDElement
deriveJSON defaultOptions ''HUD
+1 -1
View File
@@ -21,5 +21,5 @@ data HammerPosition
deriving (Eq, Ord, Show, Read) --Generic, Flat)
makeLenses ''HammerType
deriveJSON defaultOptions ''HammerType
deriveJSON defaultOptions ''HammerPosition
deriveJSON defaultOptions ''HammerType
+10 -10
View File
@@ -209,21 +209,21 @@ data ModuleSlot
| ModHeldAttach
deriving (Eq, Ord, Show, Read) --Generic, Flat)
instance ToJSONKey ModuleSlot
instance FromJSONKey ModuleSlot
deriveJSON defaultOptions ''ItemType
makeLenses ''ItemType
makeLenses ''ItemBaseType
makeLenses ''HeldItemType
deriveJSON defaultOptions ''Stack
deriveJSON defaultOptions ''CraftType
deriveJSON defaultOptions ''ItemBaseType
deriveJSON defaultOptions ''ConsumableItemType
deriveJSON defaultOptions ''Detector
deriveJSON defaultOptions ''EquipItemType
deriveJSON defaultOptions ''LeftItemType
deriveJSON defaultOptions ''HeldItemType
deriveJSON defaultOptions ''ItemModuleType
deriveJSON defaultOptions ''Detector
deriveJSON defaultOptions ''ModuleSlot
makeLenses ''ItemType
makeLenses ''ItemBaseType
makeLenses ''HeldItemType
deriveJSON defaultOptions ''ItemBaseType
deriveJSON defaultOptions ''ItemType
instance ToJSONKey ModuleSlot
instance FromJSONKey ModuleSlot
+1 -1
View File
@@ -35,7 +35,7 @@ data ItDropEffect = NoDropEffect
deriving (Eq, Ord, Show, Read) --Generic, Flat)
makeLenses ''ItEffect
deriveJSON defaultOptions ''ItEffect
deriveJSON defaultOptions ''ItInvEffect
deriveJSON defaultOptions ''ItFloorEffect
deriveJSON defaultOptions ''ItDropEffect
deriveJSON defaultOptions ''ItEffect
+2 -2
View File
@@ -109,9 +109,9 @@ makeLenses ''BarrelSpread
makeLenses ''ItemParams
makeLenses ''Nozzle
makeLenses ''GunBarrels
deriveJSON defaultOptions ''ItemParams
deriveJSON defaultOptions ''ShrinkGunStatus
deriveJSON defaultOptions ''PreviousArcEffect
deriveJSON defaultOptions ''GunBarrels
deriveJSON defaultOptions ''Nozzle
deriveJSON defaultOptions ''BarrelSpread
deriveJSON defaultOptions ''GunBarrels
deriveJSON defaultOptions ''ItemParams
+1 -1
View File
@@ -37,6 +37,6 @@ data TargetDraw
deriving (Eq, Ord, Show, Read) --Generic, Flat)
makeLenses ''Targeting
deriveJSON defaultOptions ''Targeting
deriveJSON defaultOptions ''TargetUpdate
deriveJSON defaultOptions ''TargetDraw
deriveJSON defaultOptions ''Targeting
+1 -1
View File
@@ -34,6 +34,6 @@ data TweakParam = TweakParam
makeLenses ''TweakParam
makeLenses ''ItemTweaks
deriveJSON defaultOptions ''ItemTweaks
deriveJSON defaultOptions ''TweakType
deriveJSON defaultOptions ''TweakParam
deriveJSON defaultOptions ''ItemTweaks
+2 -2
View File
@@ -79,7 +79,7 @@ data ItZoom = ItZoom
makeLenses ''ItemUse
makeLenses ''AimParams
makeLenses ''ItZoom
deriveJSON defaultOptions ''ItemUse
deriveJSON defaultOptions ''AimParams
deriveJSON defaultOptions ''AimStance
deriveJSON defaultOptions ''ItZoom
deriveJSON defaultOptions ''AimParams
deriveJSON defaultOptions ''ItemUse
+1 -1
View File
@@ -68,6 +68,6 @@ makeLenses ''AmmoType
deriveJSON defaultOptions ''ProjectileDraw
deriveJSON defaultOptions ''ProjectileCreate
deriveJSON defaultOptions ''ProjectileUpdate
deriveJSON defaultOptions ''AmmoType
deriveJSON defaultOptions ''GasCreate
deriveJSON defaultOptions ''ForceFieldType
deriveJSON defaultOptions ''AmmoType
@@ -30,5 +30,5 @@ makeLenses ''LoadAction
makeLenses ''InvSel
makeLenses ''InvSelAction
deriveJSON defaultOptions ''LoadAction
deriveJSON defaultOptions ''InvSel
deriveJSON defaultOptions ''InvSelAction
deriveJSON defaultOptions ''InvSel
+1 -1
View File
@@ -32,5 +32,5 @@ data EquipParams
makeLenses ''EquipEffect
makeLenses ''EquipParams
deriveJSON defaultOptions ''EquipEffect
deriveJSON defaultOptions ''EquipParams
deriveJSON defaultOptions ''EquipEffect
+3 -3
View File
@@ -17,7 +17,7 @@ import Color
import Control.Lens
import Data.Aeson
import Data.Aeson.TH
import qualified IntSetHelp as IS
import qualified Data.IntSet as IS
import qualified Data.Map.Strict as M
import Dodge.Data.Damage
import Dodge.Data.GenParams
@@ -66,6 +66,6 @@ data Turret = Turret
makeLenses ''Machine
makeLenses ''Turret
makePrisms ''MachineType
deriveJSON defaultOptions ''Machine
deriveJSON defaultOptions ''MachineType
deriveJSON defaultOptions ''Turret
deriveJSON defaultOptions ''MachineType
deriveJSON defaultOptions ''Machine
+1 -1
View File
@@ -42,6 +42,6 @@ data CloseToggle = NotClose | IsClose
makeLenses ''Sensor
makeLenses ''ProximityRequirement
deriveJSON defaultOptions ''Sensor
deriveJSON defaultOptions ''ProximityRequirement
deriveJSON defaultOptions ''CloseToggle
deriveJSON defaultOptions ''Sensor
+1 -1
View File
@@ -22,8 +22,8 @@ data ObjectType
| ObItem
deriving (Eq, Show, Ord, Enum, Bounded, Read) --Generic, Flat)
deriveJSON defaultOptions ''ObjectType
instance ToJSONKey ObjectType
instance FromJSONKey ObjectType
deriveJSON defaultOptions ''ObjectType
+2 -2
View File
@@ -54,7 +54,7 @@ data EdgeObstacle
makeLenses ''PathGraph
makeLenses ''PathEdge
deriveJSON defaultOptions ''PathGraph
deriveJSON defaultOptions ''PathEdge
deriveJSON defaultOptions ''EdgeObstacle
deriveJSON defaultOptions ''PathEdge
deriveJSON defaultOptions ''Gr
deriveJSON defaultOptions ''PathGraph
+1 -1
View File
@@ -74,6 +74,6 @@ data PrWdLsLs
makeLenses ''Prop
deriveJSON defaultOptions ''PropDraw
deriveJSON defaultOptions ''PropUpdate
deriveJSON defaultOptions ''PrWdLsLs
deriveJSON defaultOptions ''PropUpdate
deriveJSON defaultOptions ''Prop
+1 -1
View File
@@ -54,6 +54,6 @@ data AllocateEquipment
makeLenses ''RightButtonOptions
makeLenses ''AllocateEquipment
makeLenses ''ActivateEquipment
deriveJSON defaultOptions ''RightButtonOptions
deriveJSON defaultOptions ''ActivateEquipment
deriveJSON defaultOptions ''AllocateEquipment
deriveJSON defaultOptions ''RightButtonOptions
+2 -2
View File
@@ -37,8 +37,8 @@ data SoundOrigin
| Tap Int
deriving (Eq, Ord, Show, Read) --Generic, Flat)
deriveJSON defaultOptions ''SoundOrigin
instance ToJSONKey SoundOrigin
instance FromJSONKey SoundOrigin
deriveJSON defaultOptions ''SoundOrigin
+3 -3
View File
@@ -127,13 +127,13 @@ makeLenses ''EffectArguments
makeLenses ''TerminalCommand
deriveJSON defaultOptions ''TerminalStatus
deriveJSON defaultOptions ''TerminalInput
deriveJSON defaultOptions ''TerminalBootProgram
deriveJSON defaultOptions ''Terminal
deriveJSON defaultOptions ''TerminalLineString
deriveJSON defaultOptions ''TmTm
deriveJSON defaultOptions ''TerminalLine
deriveJSON defaultOptions ''TerminalToggle
deriveJSON defaultOptions ''TerminalBootProgram
deriveJSON defaultOptions ''BlBl
deriveJSON defaultOptions ''TerminalToggle
deriveJSON defaultOptions ''EffectArguments
deriveJSON defaultOptions ''TerminalCommandEffect
deriveJSON defaultOptions ''TerminalCommand
deriveJSON defaultOptions ''Terminal
+2 -2
View File
@@ -59,7 +59,7 @@ data WallStructure
makeLenses ''Wall
makeLenses ''Opacity
makeLenses ''WallStructure
deriveJSON defaultOptions ''Wall
deriveJSON defaultOptions ''Opacity
deriveJSON defaultOptions ''WallDraw
deriveJSON defaultOptions ''Opacity
deriveJSON defaultOptions ''WallStructure
deriveJSON defaultOptions ''Wall
-16
View File
@@ -1,16 +0,0 @@
{-# LANGUAGE DeriveAnyClass #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE StandaloneDeriving #-}
{-# OPTIONS_GHC -fno-warn-orphans #-}
module IntSetHelp (
--module IntSetHelp,
module Data.IntSet,
) where
import Data.IntSet.Internal
import Data.IntSet
-- IntSet is not an instance of Generic?!
--deriving instance Generic IntSet
--deriving instance Flat IntSet
+1 -1
View File
@@ -84,6 +84,6 @@ tflat4 (x, y, z, w) = [x, y, z, w]
{-# INLINE tflat4 #-}
makeLenses ''Verx
deriveJSON defaultOptions ''Verx
deriveJSON defaultOptions ''Layer
deriveJSON defaultOptions ''ShadNum
deriveJSON defaultOptions ''Verx
+1 -1
View File
@@ -47,6 +47,6 @@ makeLenses ''ShapeObj
type Shape = [ShapeObj]
deriveJSON defaultOptions ''ShapeObj
deriveJSON defaultOptions ''ShapeType
deriveJSON defaultOptions ''ShapeV
deriveJSON defaultOptions ''ShapeObj
+1 -1
View File
@@ -62,7 +62,7 @@ makeLenses ''SoundData
makeLenses ''Sound
makeLenses ''SoundID
makeLenses ''SoundStatus
deriveJSON defaultOptions ''SoundStatus
deriveJSON defaultOptions ''PlayStatus
deriveJSON defaultOptions ''SoundID
deriveJSON defaultOptions ''SoundStatus
deriveJSON defaultOptions ''ToPlaySound
+5 -4
View File
@@ -18,7 +18,8 @@
# resolver: ./custom-snapshot.yaml
# resolver: https://example.com/snapshots/2018-01-01.yaml
#resolver: lts-17.1
resolver: lts-18.28
#resolver: lts-18.28
resolver: lts-19.20
#resolver: lts-19.3
# User packages to be built.
@@ -39,9 +40,9 @@ packages:
extra-deps:
#- SDL-0.6.7.0@sha256:9d6ba75c0cab575ec38468c8277803983e985f9622437aeca6a53e6a7337a7d5,2045
- sdl2-mixer-1.2.0.0@sha256:6a6b5a46c035c9e77eaf9c244e45de9e4a9b9a110890cfeeb9fa72faa2419cef,4497
- repa-3.4.1.5@sha256:4d94845e66d668345130f75f5de8f7c69139b91495c8c4b5a825014e8985e2fd,3562
- strict-containers-0.1@sha256:d751696a8a74e368cf778cf98410b43fcd192d68febd4c691faaac1d6c3ab63f,10591
- strict-containers-lens-0.1@sha256:97c0e68e2e23578074d41fa45690a9ff7b1d47057ea6635d863af99f0daa2f9d,1103
#- repa-3.4.1.5@sha256:4d94845e66d668345130f75f5de8f7c69139b91495c8c4b5a825014e8985e2fd,3562
#- strict-containers-0.1@sha256:d751696a8a74e368cf778cf98410b43fcd192d68febd4c691faaac1d6c3ab63f,10591
#- strict-containers-lens-0.1@sha256:97c0e68e2e23578074d41fa45690a9ff7b1d47057ea6635d863af99f0daa2f9d,1103
#- repa-3.4.1.4@sha256:5a99bde69fe96a18d70aae23f47c8f719b1134558dca3ee5a7c15423b68a132e,3323
#- sdl2-mixer-1.1.0@sha256:c809aecd91ebf9c759af66eebaa4f45f766f2603c13a73412abfd0bd1e02071a,3067
# # for threadscope