
7 Nov
2015
7 Nov
'15
9:56 p.m.
Hello, In the book there is a example of this data-structure. data Shape = Circle float float | Rectangle float float Now I have to change it to add a center point. But I wonder if this is not a better way to describe it Data Schape = Circle Radius | Rectangle Width Height Type Radius = Float type Width = Float type Height = Float Roelof