Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gargantext-graph
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
gargantext-graph
Commits
2d7aceb3
Commit
2d7aceb3
authored
Jan 31, 2025
by
Grégoire Locqueville
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Eq instance for ClusterNode
parent
588e104f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
Types.hs
src/Graph/Types.hs
+2
-1
No files found.
src/Graph/Types.hs
View file @
2d7aceb3
...
@@ -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
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment