readComments
:: String -> IO (String,[(SourceLine,String)])
Reads the pragma comments from a Curry program. |
getFuncComment
:: String -> [(SourceLine,String)] -> String
Get the pragma comments for a function from a map from source lines to comments. |
Constructors:
Reads the pragma comments from a Curry program. The first component of the result is the comment for the module definition. The second component is a map from different source line types to pragma comments on that source line. |
Get the pragma comments for a function from a map from source lines to comments. |