CurryInfo: curry-ast-3.1.0 / Curry.Files.readASTFile

definition:
readASTFile :: String -> IO (Module ())
readASTFile filename = do
  filecontents <- readShortASTFileRaw filename
  -- read AST file...
  -- ...with generated Read class instances (slow!):
  --return (read filecontents)
  -- ...with built-in generic read operation (faster):
  return (readUnqualifiedTerm ["Curry.Types", "Curry.Ident", "Curry.Position",
                               "Curry.Span", "Curry.SpanInfo", "Prelude"]
                              filecontents)
demand:
no demanded arguments
deterministic:
deterministic operation
documentation:
-- | Reads the AST from a specified file
failfree:
<FAILING>
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{(_) |-> _}
name:
readASTFile
precedence:
no precedence defined
result-values:
_
signature:
String -> Prelude.IO (Curry.Types.Module ())
solution-complete:
operation might suspend on free variables
terminating:
possibly non-terminating
totally-defined:
possibly non-reducible on same data term