So i have this function

```
intCMP :: Int -> Int -> Ordering
intCMP a b | a == b =EQ
           | a < b = LT
           | otherwise = GT

```

and this list defined

```
xs = [1,2,3]

```

I'm trying to find information about the list but I'm having troouble passing elements into intCMP

This is what I'm trying to do

```
intCMP head(xs) 1

```

But this give me and error saying it has too many arguements. 

```
<interactive>:2:9: error:
       • Couldn't match expected type ‘Int’ with actual type ‘Integer’
       • In the first argument of ‘intCMP’, namely ‘(head xs)’
         In the expression: intCMP (head xs) 1
         In an equation for ‘it’: it = intCMP (head xs) 1

```