CurryInfo: exact-print-2.0.0 / Curry.Comment.readCommentsWithParseOptions

definition: Info
 
readCommentsWithParseOptions :: String -> FrontendParams -> IO [(Span, Comment)]
readCommentsWithParseOptions progname options = do
  mbsrc <- lookupModuleSourceInLoadPath progname
  case mbsrc of
    Nothing -> do -- no source file, try to find Comments file in load path:
      loadpath <- getLoadPathForModule progname
      filename <- getFileWithSuffix (commentsFileName (takeFileName progname)) [""]
                                    loadpath
      readCommentsFile filename
    Just (dir,_) -> do
      callFrontendWithParams COMMS options progname
      readCommentsFile (commentsFileName (dir </> takeFileName progname))
demand: Info
 no demanded arguments
deterministic: Info
 deterministic operation
documentation: Info
 
| Reads the comments with further options from a specified module
failfree: Info
 <FAILING>
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_,_) |-> _}
name: Info
 readCommentsWithParseOptions
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 String -> System.FrontendExec.FrontendParams
-> Prelude.IO [(Curry.Span.Span, Comment)]
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 possibly non-reducible on same data term