Permalink
Browse files

Use record syntax to improve readability

  • Loading branch information...
earlbread committed Aug 29, 2017
1 parent 5f16da7 commit 4cf2c4fb038542fff1fd33112947e56aa341b129
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Nirum/Package/Metadata.hs
@@ -97,7 +97,7 @@ deriving instance (Ord t, Target t) => Ord (Package t)
deriving instance (Show t, Target t) => Show (Package t)
packageTarget :: Target t => Package t -> t
packageTarget Package { metadata = Metadata _ _ _ _ t } = t
packageTarget Package { metadata = Metadata { target = t } } = t
data Metadata t =
Metadata { version :: SV.Version

0 comments on commit 4cf2c4f

Please sign in to comment.