CurryInfo: ertools-3.0.0 / Database.ERD.Generic.restoreDBRelTerms

definition:
restoreDBRelTerms :: (Read en, Show a) => String -> String
                  -> (Key -> a -> Dynamic) -> (en -> a)  -> IO ()
restoreDBRelTerms path ename dynpred eninfo = do
  let savefile = path++"/"++ename++".terms"
  putStrLn $ "Restoring from "++savefile
  terms <- readFile savefile >>= return . map read . lines 
  runJustT (mapT_ (\t -> newDBEntry dynpred (eninfo t)) terms)
demand:
no demanded arguments
deterministic:
deterministic operation
failfree:
<FAILING>
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{(_,_,_,_,_,_) |-> _}
name:
restoreDBRelTerms
precedence:
no precedence defined
result-values:
_
signature:
(Prelude.Read b, Prelude.Show a) => String -> String -> (Prelude.Int -> a
-> Database.KeyDatabaseSQLite.Dynamic) -> (b -> a) -> Prelude.IO ()
solution-complete:
operation might suspend on free variables
terminating:
possibly non-terminating
totally-defined:
possibly non-reducible on same data term