Code which replaces pattern matching on record constructors with uses of projection functions.
- translateRecordPatterns :: MonadTCM tcm => Clause -> tcm Clauses
Documentation
translateRecordPatterns :: MonadTCM tcm => Clause -> tcm ClausesSource
Replaces pattern matching on record constructors with uses of projection functions. Does not remove record constructor patterns which have sub-patterns containing non-record constructor or literal patterns.