Skip to content

Commit

Permalink
Merge pull request #98 from co-dan/master
Browse files Browse the repository at this point in the history
Changes required due to the introduction of Roles in GHC
  • Loading branch information
byorgey committed Aug 18, 2013
2 parents c10448a + 34b8929 commit e1f0223
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Diagrams/Trail.hs
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,10 @@ deriving instance (OrderedField (Scalar v), InnerSpace v)
=> Monoid (SegTree v)
deriving instance (OrderedField (Scalar v), InnerSpace v)
=> FT.Measured (SegMeasure v) (SegTree v)
deriving instance (HasLinearMap v, InnerSpace v, OrderedField (Scalar v))
=> Transformable (SegTree v)

instance (HasLinearMap v, InnerSpace v, OrderedField (Scalar v))
=> Transformable (SegTree v) where
transform t = SegTree . transform t . getSegTree

type instance Codomain (SegTree v) = v

Expand Down

0 comments on commit e1f0223

Please sign in to comment.