1 2 3 4 5 6 7
module Test (R(..)) where data R = R { x :: Char, y :: Int, z :: Float } | S { x :: Char } | T { y :: Int, z:: Float } | W