Skip to content

Commit

Permalink
Merge pull request diagrams#333 from bacchanalia/fixedsegmenteq
Browse files Browse the repository at this point in the history
add derived Eq and Ord instances for FixedSegment
  • Loading branch information
byorgey authored Mar 28, 2019
2 parents 2bfe139 + 1d15451 commit 30d06d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Diagrams/Segment.hs
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ instance (Metric v, OrderedField n)
-- the absolute locations of the vertices and control points.
data FixedSegment v n = FLinear (Point v n) (Point v n)
| FCubic (Point v n) (Point v n) (Point v n) (Point v n)
deriving Show
deriving (Eq, Ord, Show)

type instance V (FixedSegment v n) = v
type instance N (FixedSegment v n) = n
Expand Down

0 comments on commit 30d06d9

Please sign in to comment.