CurryInfo: icurry-3.2.0 / TermGraph.SVG.processArgs

definition:
processArgs :: [String] -> (FilePath, FilePath, (FilePath -> XmlExp -> IO ()))
processArgs args =
  let dims = read <$> (args !? 3)
  in (args !! 0,
      if length args > 1
        then args !! 1
        else "icurrySVG",
      if args !? 2 == (Just "-tree")
        then (xmlGraphs2Svgs False (treeSvg 10 dims))
        else (xmlGraphs2Svgs False (graphSvg dims)))
demand:
no demanded arguments
deterministic:
deterministic operation
failfree:
<FAILING>
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{(_) |-> {(,,)}}
name:
processArgs
precedence:
no precedence defined
result-values:
{(,,)}
signature:
[String] -> (String, String, String -> XML.XmlExp -> Prelude.IO ())
solution-complete:
operation might suspend on free variables
terminating:
possibly non-terminating
totally-defined:
possibly non-reducible on same data term