blob: fddf19499e91c57978ed9c73ed13b0987f35fab8 (
plain)
1
2
3
4
5
6
7
8
9
10
|
-- !!! Use of empty record patterns for constructors
-- !!! that don't have any labelled fields. According
-- !!! to the report, this isn't illegal.
module ShouldCompile where
data F = F Int Int
| G
isF F{} = True
isF _ = False
|