sheet-parser-hs/app/Main.hs

18 lines
332 B
Haskell
Raw Normal View History

2023-11-09 22:44:20 +01:00
module Main where
import Data.Aeson
import GHC.Generics
import qualified Data.ByteString.Lazy as B
import qualified Data.ByteString.Lazy.UTF8 as BSU
import DND.Sheet
import DND.Bob
testfile :: FilePath
testfile = "./example.json"
createExample :: IO ()
createExample = encodeFile testfile bob
main :: IO ()
main = createExample