Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop exporting Diagrams.Coordinates from Diagrams.Prelude #82

Merged
merged 2 commits into from
Jun 6, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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