Formatting and refactor
This commit is contained in:
parent
7d8bf5d857
commit
e07d859fe4
4 changed files with 18 additions and 10 deletions
|
@ -1,6 +1,7 @@
|
|||
module Main where
|
||||
|
||||
import DND.Sheet.Parser
|
||||
import DND.Dice
|
||||
|
||||
testfile :: FilePath
|
||||
testfile = "./example.json"
|
||||
|
@ -10,4 +11,4 @@ main = do
|
|||
createExample testfile
|
||||
sheet <- parseSheet testfile
|
||||
putStrLn $ "wrote example character named \"" ++ getName sheet ++ "\" to: " ++ testfile
|
||||
listSkillNames sheet
|
||||
mapM_ putStrLn . getSkillNames $ sheet
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue