|
definition: |
readFlatCurryRules :: String -> IO (Prog,[TRS.Rule]) readFlatCurryRules prog = do putStrLn $ "Reading rules from Curry program " ++ prog ++ "..." flatprog <- readFlatCurry prog return (flatprog, fst $ curry2rules flatprog) |
|
demand: |
no demanded arguments |
|
deterministic: |
deterministic operation |
|
documentation: |
Read FlatCurry program and return it together with the rules transformed into a TRS: |
|
failfree: |
<FAILING> |
|
indeterministic: |
referentially transparent operation |
|
infix: |
no fixity defined |
|
iotype: |
{(_) |-> _}
|
|
name: |
readFlatCurryRules |
|
precedence: |
no precedence defined |
|
result-values: |
_ |
|
signature: |
String -> Prelude.IO (FlatCurry.Types.Prog, [TRS.Rule]) |
|
solution-complete: |
operation might suspend on free variables |
|
terminating: |
possibly non-terminating |
|
totally-defined: |
possibly non-reducible on same data term |