我想要一个数据类型的数值列表
data Polynomial = Polynomial {xs ::(Num a) => [a] } deriving (Show)
但我仍然得到这个错误
error: Not in scope: type variable ‘a’
haskell
haskell ×1