Ticket #41 (closed bug report: fixed)
@-patterns inside lists are incorrectly considered RegularPatterns
| Reported by: | nibro | Owned by: | nibro |
|---|---|---|---|
| Priority: | major | Milestone: | Full code support |
| Component: | parser | Version: | 0.5.4 |
| Keywords: | Cc: |
Description
This example is accepted if we either drop the outer list brackets or replace (Just _) with True. Otherwise, HSE complains that RegularPatterns? are not enabled.
nestedAsPat [x@(Just _)] = undefined
Change History
Note: See
TracTickets for help on using
tickets.
