1
import Data.Map as Map
test :: Int -> Int -> Map -> Map
test key value cache = Map.insert key value cache
错误:Data.Map类型声明
`Map' is not applied to enough type arguments
Expected kind `??', but `Map' has kind `* -> * -> *'
In the type signature for `test': test :: Int -> Int -> Map -> Map
我如何可以声明传递Data.Map作为参数的函数?