Skip to content

Commit

Permalink
Merge pull request #164 from denys-duchier/doc-fix
Browse files Browse the repository at this point in the history
fix doc for === and |||
  • Loading branch information
byorgey committed Mar 2, 2014
2 parents 1e0a1a0 + e3a270c commit 56fb4b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Diagrams/TwoD/Combinators.hs
Original file line number Diff line number Diff line change
Expand Up @@ -76,15 +76,15 @@ infixl 6 |||
--
-- to place @c@ above @d@. The local origin of the resulting
-- combined diagram is the same as the local origin of the first.
-- @(|||)@ is associative and has 'mempty' as an identity. See the
-- @(===)@ is associative and has 'mempty' as an identity. See the
-- documentation of 'beside' for more information.
(===) :: (Juxtaposable a, V a ~ R2, Semigroup a) => a -> a -> a
(===) = beside (negateV unitY)

-- | Place two diagrams (or other juxtaposable objects) horizontally
-- adjacent to one another, with the first diagram to the left of
-- the second. The local origin of the resulting combined diagram
-- is the same as the local origin of the first. @(===)@ is
-- is the same as the local origin of the first. @(|||)@ is
-- associative and has 'mempty' as an identity. See the
-- documentation of 'beside' for more information.
(|||) :: (Juxtaposable a, V a ~ R2, Semigroup a) => a -> a -> a
Expand Down

0 comments on commit 56fb4b6

Please sign in to comment.