Module Curry.Comment

Exported Datatypes


data Comment

Constructors:

  • NestedComment :: String -> Comment
  • LineComment :: String -> Comment

Known instances:


Exported Functions


commentString :: Comment -> String  Deterministic 

Further infos:
  • solution complete, i.e., able to compute all solutions

readComments :: String -> IO [(Span, Comment)]  Non-deterministic 

Reads the comments from a specified module


readCommentsWithParseOptions :: String -> FrontendParams -> IO [(Span, Comment)]  Non-deterministic 

Reads the comments with further options from a specified module


commentsFileName :: String -> String  Deterministic 

Get the comments filename of a curry programm


readCommentsFile :: String -> IO [(Span, Comment)]  Non-deterministic 

Reads the comments from a specified file


readCommentsFileRaw :: String -> IO String  Deterministic 

Reads the text from a specified file containing comments