on master help sign in
Have equality work on any type.
commit06e6b317dc1f1dc87fd90a13711deac6ecf9fdb4 authorevancz <info@elm-lang.org> dateSun 28 Apr 2013, 05:01 (14 years ago) parent2928e20
1 file changed+2−2
libraries/Prelude.elm+2−2
libraries/Prelude.elm+2−2
@@ -64,8 +64,8 @@ e : Float
6464
6565-- Compare any two values for structural equality and inequality.
6666-- Functions cannot be compared.
67−(==) : Comparable a -> Comparable a -> Bool
68−(/=) : Comparable a -> Comparable a -> Bool
67+(==) : a -> a -> Bool
68+(/=) : a -> a -> Bool
6969
7070-- Compare any two comparable values. Comparable values include String, Char,
7171-- Int, Float, Time, or a list or tuple containing comparable values.