instance Ord Edge where (Edge s1 _) `compare` (Edge s2 _) = s1 `compare` s2
I am a bit stuck on how to use compare to define this type of eqlaity - any pointers very gratefully received.
BW,
Matt