Is there another way to do this function without the use haskell functions
mymin :: (Ord a) => [a] -> a
mymin [] = error "empty list"
mymin [x] = x
mymin (x:xs)
| x < mt = x
| otherwise = mt
where mt = mymin xs
and tell me what does mymin :: (Ord a) => [a] ->a mean?
Since AndrewC already explained what
mymin :: Ord a => [a] -> ameans. An alternative function could be :or