Commit 2d7aceb3 authored by Grégoire Locqueville's avatar Grégoire Locqueville

Add Eq instance for ClusterNode

parent 588e104f
...@@ -40,4 +40,5 @@ data ClusterNode = ClusterNode ...@@ -40,4 +40,5 @@ data ClusterNode = ClusterNode
, cl_community_id :: Int , cl_community_id :: Int
} deriving Show } deriving Show
instance Eq ClusterNode where
ClusterNode n1 c1 == ClusterNode n2 c2 = (n1 == n2) && (c1 == c2)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment