Eq (comparable)に関数がわたせてしまう
(==) : a -> a -> Bool なため、関数など 、(<) : comparable -> comparable -> Boolなので、(==) に本来比較できなさそうな関数を渡して比較することができちゃう?
code:elm
(==)
<function> : a -> a -> Bool
f x = x
<function> : a -> a
f == f
True : Bool
g = f
<function> : a -> a
f == g
True : Bool
g x = f x
<function> : a -> a
f == g
Error: Trying to use (==) on functions.
There is no way to know if functions are "the same" in the Elm sense.