
24 Jan
2007
24 Jan
'07
6:39 a.m.
Hallo,
On 1/24/07, Ketil Malde
jamin1001 wrote:
What if I want to do something like
data Chair = Chair {pos:: Int, color :: Int} data Table = Table {pos:: Int, color :: Int}
data Properties = Props { pos, color :: Int } data Chair = Chair Props data Table = Table Props
Do you mean: data Chair = Chair Properties data Table = Table Properties ? -- -alex http://www.ventonegro.org/