Skip to content

Commit

Permalink
Merge pull request #82 from diagrams/coordinates-noexp
Browse files Browse the repository at this point in the history
Stop exporting Diagrams.Coordinates from Diagrams.Prelude
  • Loading branch information
fryguybob committed Jun 6, 2013
2 parents 2dc81eb + 9ace8f6 commit c1e0605
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
7 changes: 6 additions & 1 deletion src/Diagrams/Coordinates.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE TypeOperators #-}
-----------------------------------------------------------------------------
-- |
Expand All @@ -10,6 +10,11 @@
-- Nice syntax for constructing and pattern-matching on literal
-- points and vectors.
--
-- NOTE: to avoid clashing with the '(&)' operator from the @lens@
-- package, this module is not re-exported by "Diagrams.Prelude". To
-- make use of the contents of this module, you must explicitly import
-- it.
--
-----------------------------------------------------------------------------

module Diagrams.Coordinates
Expand Down
4 changes: 0 additions & 4 deletions src/Diagrams/Prelude.hs
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ module Diagrams.Prelude

-- * Standard library

-- | Nice syntax for constructing and pattern-matching
-- literal points and vectors.
, module Diagrams.Coordinates

-- | Attributes (color, line style, etc.) and styles.
, module Diagrams.Attributes

Expand Down
3 changes: 3 additions & 0 deletions src/Diagrams/TwoD/Types.hs
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ import Data.Typeable
-- > r2 (3,4) :: R2
-- > 3 & 4 :: R2
--
-- Note that "Diagrams.Coordinates" is not re-exported by
-- "Diagrams.Prelude" and must be explicitly imported.
--
-- * To construct the vector from the origin to a point @p@, use
-- @p 'Data.AffineSpace..-.' 'origin'@.
--
Expand Down

0 comments on commit c1e0605

Please sign in to comment.