definition:
|
writeERDTermFile :: ERD -> IO String
writeERDTermFile erd@(ERD name _ _) = do
let termfile = name ++ ".erdterm"
writeFile termfile (show erd)
getAbsolutePath termfile
|
demand:
|
argument 1
|
deterministic:
|
deterministic operation
|
documentation:
|
--- Writes an ERD term into a file with name `ERDMODELNAME.erdterm`
--- and returns the absolute path name of the generated term file.
|
failfree:
|
<FAILING>
|
indeterministic:
|
referentially transparent operation
|
infix:
|
no fixity defined
|
iotype:
|
{({ERD}) |-> _}
|
name:
|
writeERDTermFile
|
precedence:
|
no precedence defined
|
result-values:
|
_
|
signature:
|
ERD -> Prelude.IO String
|
solution-complete:
|
operation might suspend on free variables
|
terminating:
|
possibly non-terminating
|
totally-defined:
|
possibly non-reducible on same data term
|