Ticket #41 (closed bug report: fixed)

Opened 8 years ago

Last modified 8 years ago

@-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:


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

Changed 8 years ago by nibro

  • status changed from new to closed
  • resolution set to fixed

Parenthesised sub-patterns were not recognized as being standard. Fixed now, case closed.

Note: See TracTickets for help on using tickets.