From ab16b947984b230b38fb38aaeceab9e206a18587 Mon Sep 17 00:00:00 2001 From: stuebinm Date: Sun, 6 Mar 2022 17:56:30 +0100 Subject: 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! --- tiled/Data/Tiled/Abstract.hs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'tiled/Data/Tiled') diff --git a/tiled/Data/Tiled/Abstract.hs b/tiled/Data/Tiled/Abstract.hs index 5a5b7c0..574a0ae 100644 --- a/tiled/Data/Tiled/Abstract.hs +++ b/tiled/Data/Tiled/Abstract.hs @@ -4,11 +4,10 @@ module Data.Tiled.Abstract where import Universum -import qualified Data.Vector as V -import Data.Tiled (GlobalId, Layer (..), Object (..), Property (..), +import Data.Tiled (Layer (..), Object (..), Property (..), PropertyValue (..), Tile (..), Tiledmap (..), - Tileset (..), mkTiledId) -import Util (showText) + Tileset (..), GlobalId) +import qualified Data.Vector as V class HasProperties a where getProperties :: a -> [Property] -- cgit v1.2.3