definition: |
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: |
no demanded arguments |
deterministic: |
deterministic operation |
documentation: |
translate source file into HTML file with anchors for each function: |
indeterministic: |
referentially transparent operation |
infix: |
no fixity defined |
iotype: |
{(_,_) |-> _} |
name: |
translateSource2AnchoredHtml |
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 |