diff options
author | stuebinm | 2022-02-28 00:39:54 +0100 |
---|---|---|
committer | stuebinm | 2022-03-19 19:57:16 +0100 |
commit | 596096823872aaa491e1a208f70da820322a766f (patch) | |
tree | 320185abe5882b3732d6a23879e13fcb87d83039 /lib/Tiled.hs | |
parent | b7c0cd8fbef6147bf1ff2e30abfcf5c4c025862b (diff) |
separate tiled modules out into own package
Diffstat (limited to '')
-rw-r--r-- | tiled/Data/Tiled.hs (renamed from lib/Tiled.hs) | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Tiled.hs b/tiled/Data/Tiled.hs index 3162dfd..046a080 100644 --- a/lib/Tiled.hs +++ b/tiled/Data/Tiled.hs @@ -15,7 +15,7 @@ -- cover some of the types and records that are available in the format. For -- those you should read the TMX documentation at -- http://doc.mapeditor.org/en/latest/reference/tmx-map-format/ -module Tiled where +module Data.Tiled where import Universum @@ -383,6 +383,7 @@ instance ToJSON Tiledmap where toJSON = genericToJSON (aesonOptions 8) data LoadResult = Loaded Tiledmap | IOErr String | DecodeErr String + deriving Show -- | Load a Tiled map from the given 'FilePath'. loadTiledmap :: FilePath -> IO LoadResult |