diff options
author | stuebinm | 2022-03-06 17:56:30 +0100 |
---|---|---|
committer | stuebinm | 2022-03-06 17:57:30 +0100 |
commit | 83bfdb5600e4888648272eaf85c25f0af944a4f3 (patch) | |
tree | d0f90a6d47d6ec0e673fe233ba98a9d2cab97f0f /tiled/Data/Tiled/Abstract.hs | |
parent | bbe906ed445b77ad5dc0e1257ce652fe4a6e88cc (diff) |
make tiled even more strict
turns out aeson really REALLY likes to keep huge scientific numbers
around, which is great if your data structures consist largely of arrays
of (small) integers!
Diffstat (limited to '')
-rw-r--r-- | tiled/Data/Tiled/Abstract.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tiled/Data/Tiled/Abstract.hs b/tiled/Data/Tiled/Abstract.hs index 4b2e15d..4d6396a 100644 --- a/tiled/Data/Tiled/Abstract.hs +++ b/tiled/Data/Tiled/Abstract.hs @@ -4,10 +4,10 @@ module Data.Tiled.Abstract where import Universum -import qualified Data.Vector as V -import Data.Tiled (Layer (..), Object (..), Property (..), +import Data.Tiled (Layer (..), Object (..), Property (..), PropertyValue (..), Tile (..), Tiledmap (..), Tileset (..)) +import qualified Data.Vector as V class HasProperties a where getProperties :: a -> [Property] |