definition: |
createNewDB :: String -> IO () createNewDB dbfile = do conn <- Database.CDBI.Connection.connectSQLite dbfile Database.CDBI.Connection.writeConnection cstr conn Database.CDBI.Connection.disconnect conn where cstr = unlines ["create table 'IndexEntry'('Key' integer primary key ,'Name' string not null ,'Version' string not null ,'Dependencies' string ,'CompilerCompatibility' string ,'Synopsis' string ,'Category' string ,'SourceDirs' string ,'ExportedModules' string ,'ExecutableSpec' string);"] |
demand: |
no demanded arguments |
deterministic: |
deterministic operation |
documentation: |
--- Generates a new database (name provided as the parameter) and --- creates its schema. |
failfree: |
_ |
indeterministic: |
referentially transparent operation |
infix: |
no fixity defined |
iotype: |
{(_) |-> _} |
name: |
createNewDB |
precedence: |
no precedence defined |
result-values: |
_ |
signature: |
String -> Prelude.IO () |
solution-complete: |
operation might suspend on free variables |
terminating: |
possibly non-terminating |
totally-defined: |
possibly non-reducible on same data term |