Ticket #82 (new enhancement)
Comments inside record field types
| Reported by: | SamB | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Version: | Keywords: | ||
| Cc: | SamB, mmitar@… |
Description
for some reason,
newtype P a = P { runP ::
String -- ^ Input string
-> Int -- ^ Current column
-> Int -- ^ Current line
-> SrcLoc -- ^ Location of last token read
-> ParseState -- ^ Layout info.
-> ParseMode -- ^ Parse parameters
-> ParseStatus a
}
fails to parse, but
newtype P a = P { runP ::
String -- Input string
-> Int -- Current column
-> Int -- Current line
-> SrcLoc -- Location of last token read
-> ParseState -- Layout info.
-> ParseMode -- Parse parameters
-> ParseStatus a
}
parses fine.
Change History
Note: See
TracTickets for help on using
tickets.
