Module Spicey.SpiceUp

Summary of exported operations:

systemBanner :: String   
setFileMode :: FileMode -> String -> IO ()   
spiceyStructure :: String -> DirTree   
replaceCurryBin :: String -> String   
replacePackageName :: String -> String -> String   
ifNotExistsDo :: String -> IO () -> IO ()   
createStructure :: String -> String -> ERD -> String -> String -> DirTree -> IO ()   
Creates the structure of the source files of the new package.
main :: IO ()   
The main operation to start the scaffolding.
spiceupHelp :: Int -> IO ()   

Exported datatypes:


FileMode

Constructors:

  • Exec :: FileMode
  • NoExec :: FileMode

DirTree

Constructors:

  • Directory :: String -> [DirTree] -> DirTree
  • ResourceFile :: FileMode -> String -> DirTree
  • ResourcePatchFile :: FileMode -> String -> (String -> String) -> DirTree
  • GeneratedFromERD :: (String -> ERD -> String -> String -> IO ()) -> DirTree

Exported operations:

systemBanner :: String   

setFileMode :: FileMode -> String -> IO ()   

spiceyStructure :: String -> DirTree   

replaceCurryBin :: String -> String   

replacePackageName :: String -> String -> String   

ifNotExistsDo :: String -> IO () -> IO ()   

createStructure :: String -> String -> ERD -> String -> String -> DirTree -> IO ()   

Creates the structure of the source files of the new package.

main :: IO ()   

The main operation to start the scaffolding.

spiceupHelp :: Int -> IO ()