module Triangle (TriangleType(..), triangleType) where data TriangleType = Equilateral | Isosceles | Scalene | Illegal deriving (Eq, Show) triangleType = undefined