summaryrefslogtreecommitdiff
path: root/src/Sequence
diff options
context:
space:
mode:
Diffstat (limited to 'src/Sequence')
-rw-r--r--src/Sequence/Types.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Sequence/Types.hs b/src/Sequence/Types.hs
index 480dfee..3d95b9a 100644
--- a/src/Sequence/Types.hs
+++ b/src/Sequence/Types.hs
@@ -1,4 +1,4 @@
1{-# LANGUAGE FlexibleInstances, FlexibleContexts, MultiParamTypeClasses, TypeSynonymInstances, ViewPatterns, OverloadedStrings, TemplateHaskell, GeneralizedNewtypeDeriving, TypeOperators #-} 1{-# LANGUAGE FlexibleInstances, FlexibleContexts, MultiParamTypeClasses, TypeSynonymInstances, ViewPatterns, OverloadedStrings, TemplateHaskell, GeneralizedNewtypeDeriving, TypeOperators, UndecidableInstances #-}
2 2
3module Sequence.Types 3module Sequence.Types
4 ( GameState, gEntities, gEntityNames, gFocus, gNextId' 4 ( GameState, gEntities, gEntityNames, gFocus, gNextId'
@@ -78,8 +78,8 @@ instance Default Entity where
78 , _eStats = def 78 , _eStats = def
79 } 79 }
80 80
81instance Stats :<: Entity where 81instance (Entity :<: a) => Stats :<: a where
82 ctx' = eStats 82 ctx' = ctx' . eStats
83 83
84newtype EntityName = EntityName { _entityName :: CI String } 84newtype EntityName = EntityName { _entityName :: CI String }
85 deriving (Show, Eq, Ord) 85 deriving (Show, Eq, Ord)