
6 Feb
2007
6 Feb
'07
4:55 a.m.
Can anyone explain why Shape.Polygon would have a different type to (Shape).Polygon, I thought the brackets would be redundant. Here is the output from a Hugs session Animation> :v -- Hugs Version 20050113 Animation> :t Shape Shape :: Shape -> Region Animation> :t Polygon Polygon :: [Vertex] -> Shape Animation> :t (Shape.Polygon) Polygon :: [Vertex] -> Shape Animation> :t ((Shape).Polygon) Shape . Polygon :: [Vertex] -> Region Animation> :t Shape.(Polygon) Shape . Polygon :: [Vertex] -> Region Cheers Chris Witte