8 lines
182 B
Haskell
8 lines
182 B
Haskell
|
module Dungeon.Loader where
|
||
|
|
||
|
import Data.Aeson
|
||
|
import Data.ByteString.Lazy.UTF8 (fromString)
|
||
|
|
||
|
loadDungeon :: String -> IO (Either String Object)
|
||
|
loadDungeon = eitherDecodeFileStrict
|