UωU -- Initial commit
This commit is contained in:
commit
4c46789ae4
13 changed files with 1364 additions and 0 deletions
17
app/Main.hs
Normal file
17
app/Main.hs
Normal file
|
@ -0,0 +1,17 @@
|
|||
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
|
Loading…
Add table
Add a link
Reference in a new issue