Permalink
Browse files

s/Iso/Prism

  • Loading branch information...
1 parent ff3d2d5 commit ffe3253a0a25d8e29802b42e132e42ad2f9ec03e @ekmett committed Dec 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Control/Lens/Type.hs
View
@@ -323,7 +323,7 @@ type Iso' s a = Iso s s a a
-- Another interesting way to think of a 'Prism' is as the categorical dual of a 'Lens'
-- -- a /co/-'Lens', so to speak. This is what permits the construction of 'outside'.
--
--- Note: Composition with an 'Iso' is index-preserving.
+-- Note: Composition with a 'Prism' is index-preserving.
type Prism s t a b = forall p f. (Prismatic p, Applicative f) => p a (f b) -> p s (f t)
-- | A 'Simple' 'Prism'

0 comments on commit ffe3253

Please sign in to comment.