我将类型类Vector定义为
data Vector a = Vector a a a deriving (Show, Read)
但是当我使用代码从字符串转换时
read "Vector 1 2 3" :: Vector
这是行不通的.谁能帮忙.谢谢!
haskell
haskell ×1