Record syntax for pattern synonyms
Implement syntax for
pattern Cons{car, cdr} = (car, cdr)
which can then be used just like a regular record constructor, so the following are all valid patterns:
Cons (Just x) []
Cons{car = Just x}
Trac metadata
| Trac field | Value |
|---|---|
| Version | |
| Type | FeatureRequest |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |