是否有另一种方法可以在不使用 haskell 函数的情况下执行此功能
mymin :: (Ord a) => [a] -> a
mymin [] = error "empty list"
mymin [x] = x
mymin (x:xs)
| x < mt = x
| otherwise = mt
where mt = mymin xs
告诉我是什么mymin :: (Ord a) => [a] ->a
意思?