Skip to content

Commit

Permalink
Call it Path.
Browse files Browse the repository at this point in the history
  • Loading branch information
cchalmers committed Sep 16, 2014
1 parent cc232a6 commit dde9d02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Diagrams/Path.hs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ newtype Path v n = Path [Located (Trail v n)]
-- * -> * -> *
-- we can only do Typeable1 (Path v). This is why the instance cannot be
-- derived.
instance forall v. Typeable1 v => Typeable1 (Trail v) where
instance forall v. Typeable1 v => Typeable1 (Path v) where
typeOf1 _ = mkTyConApp (mkTyCon3 "diagrams-lib" "Diagrams.Path" "Path") [] `mkAppTy`
typeOf1 (undefined :: v n)
#endif
Expand Down

0 comments on commit dde9d02

Please sign in to comment.