CurryInfo: currydoc-4.0.0 / CurryDoc.Html.translateSource2AnchoredHtml

definition: Info
 
translateSource2AnchoredHtml :: String -> String -> IO ()
translateSource2AnchoredHtml docdir modname = do
  putStrLn $ "Writing source file as HTML to '" ++
             docdir ++ "/" ++ modname ++ "_curry.html'..."
  prog <- readFile (modname++".curry")
  writeFile (docdir </> modname++"_curry.html")
            (showPageWithDocStyle (modname++".curry")
                [BaseStruct "pre" []
                   [BaseText (addFuncAnchors [] (lines prog))]])
demand: Info
 no demanded arguments
deterministic: Info
 deterministic operation
documentation: Info
 
translate source file into HTML file with anchors for each function:
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_,_) |-> _}
name: Info
 translateSource2AnchoredHtml
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 String -> String -> Prelude.IO ()
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 possibly non-reducible on same data term