CurryInfo: currydoc-4.0.0 / CurryDoc.Read.readComments

definition:
 
readComments :: String -> IO (String,[(SourceLine,String)])
readComments filename = do
  prog <- readFile filename
  return (groupLines . filter (/=OtherLine) . map classifyLine . lines $ prog)
demand:
 no demanded arguments
deterministic:
 deterministic operation
documentation:
 
Reads the comments of a source file to be put in the HTML documentation.
Returns the module comment and the list of (Func/DataDef,comment) pairs.
failfree:
 <FAILING>
indeterministic:
 referentially transparent operation
infix:
 no fixity defined
iotype:
 {(_) |-> _}
name:
 readComments
precedence:
 no precedence defined
result-values:
 _
signature:
 String -> Prelude.IO (String, [(SourceLine, String)])
solution-complete:
 operation might suspend on free variables
terminating:
 possibly non-terminating
totally-defined:
 possibly non-reducible on same data term