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 в качестве параметра?