我对haskell中的课程感到非常困惑。如果我有代码:
class GetResult n where res :: n -> Int
class (GetResult n) => Model n where
starting :: Int -> [Int] -> n
starting i j = .....
test :: n -> n
test n = ......
n是什么类型?什么类型的开始输出和测试将作为输入?