CurryInfo: coosy-3.1.0 / Coosy.Derive.deriveFile

definition:
deriveFile :: String -> IO String
deriveFile progfile = do
  let progName = stripCurrySuffix progfile
  runModuleActionQuiet addOTypes progName
  return $ unlines
    [ "Observer functions have been added to:", progName, ""
    , "A backup of the original file has been written to:"
    , progName ++ ".curry.bak", ""
    , "Don't forget to recompile the program and to reload it into your editor!"
    ]
demand:
no demanded arguments
deterministic:
deterministic operation
documentation:
-- Derives observers to a given program file:
failfree:
<FAILING>
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{(_) |-> _}
name:
deriveFile
precedence:
no precedence defined
result-values:
_
signature:
String -> Prelude.IO String
solution-complete:
operation might suspend on free variables
terminating:
possibly non-terminating
totally-defined:
possibly non-reducible on same data term