I'm trying to store a function type in a definition so I can reuse it, but Haskell doesn't let me do it. A function type is not a data type , nor a class, as far as I understand them. So what am I doing wrong please?
functionType = Int -> Int -> Int -> Int -> Int -> Int -> Int myfunction :: functionType -- <-- how do I declare this thing in a definition? myfunction a b c d e f = a*b*c*d*e*f
type FunctionType = Int -> Int -> Int -> Int -> Int -> Int -> Int