Skip to content

Commit

Permalink
minor formatting/cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Brent Yorgey committed Nov 14, 2013
1 parent 7383eff commit 0088cbd
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/Diagrams/Attributes.hs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{-# LANGUAGE DeriveDataTypeable
, ExistentialQuantification
, GeneralizedNewtypeDeriving
#-}
{-# LANGUAGE DeriveDataTypeable #-}
{-# LANGUAGE ExistentialQuantification #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
-----------------------------------------------------------------------------
-- |
-- Module : Diagrams.Attributes
Expand Down Expand Up @@ -62,7 +61,7 @@ import Diagrams.Core

import Data.Colour
import Data.Colour.RGBSpace
import Data.Colour.SRGB (sRGBSpace)
import Data.Colour.SRGB (sRGBSpace)

import Data.Default.Class

Expand All @@ -88,7 +87,7 @@ import Data.Semigroup
-- both the 'Data.Colour.Colour' and 'Data.Colour.AlphaColour' types
-- from the "Data.Colour" library.
class Color c where
-- | Convert a color to its standard representation, AlphaColour
-- | Convert a color to its standard representation, AlphaColour.
toAlphaColour :: c -> AlphaColour Double

-- | An existential wrapper for instances of the 'Color' class.
Expand Down

0 comments on commit 0088cbd

Please sign in to comment.