definition: |
createRoutes :: String -> ERD -> String -> String -> IO () createRoutes _ erd path _ = do putStrLn $ "Saving '" ++ mappingModuleName++".curry'..." mmfileh <- openFile (path </> "ControllerMapping.curry") WriteMode hPutStr mmfileh (showCProg (generateRoutesForERD erd)) hClose mmfileh putStrLn $ "Saving '" ++ dataModuleName++".curry'..." dmfileh <- openFile (path </> "RoutesData.curry") WriteMode hPutStr dmfileh (showCProg (generateStartpointDataForERD erd)) hClose dmfileh |
demand: |
no demanded arguments |
deterministic: |
deterministic operation |
failfree: |
<FAILING> |
indeterministic: |
referentially transparent operation |
infix: |
no fixity defined |
iotype: |
{(_,_,_,_) |-> _} |
name: |
createRoutes |
precedence: |
no precedence defined |
result-values: |
_ |
signature: |
String -> Database.ERD.ERD -> String -> String -> Prelude.IO () |
solution-complete: |
operation might suspend on free variables |
terminating: |
possibly non-terminating |
totally-defined: |
possibly non-reducible on same data term |