CurryInfo: currydoc-4.0.0 / CurryDoc.Main.copyIncludeIfPresent

definition:
copyIncludeIfPresent :: String -> String -> IO ()
copyIncludeIfPresent docdir inclfile = do
  existIDir <- doesDirectoryExist includeDir
  when existIDir $
    system (unwords ["cp", includeDir </> inclfile, docdir]) >> return ()
demand:
no demanded arguments
deterministic:
deterministic operation
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{(_,_) |-> _}
name:
copyIncludeIfPresent
precedence:
no precedence defined
result-values:
_
signature:
String -> String -> Prelude.IO ()
solution-complete:
operation might suspend on free variables
terminating:
possibly non-terminating
totally-defined:
possibly non-reducible on same data term