为什么它抱怨这段代码:
data Point = Point {
x, y :: Int
} deriving (Show)
main = print $ Point (15 20)
说:
No instance for (Show (Int -> Point))
arising from a use of `print'
Possible fix: add an instance declaration for (Show (Int -> Point))