Skip to content

Commit

Permalink
Merge branch 'master' of github.com:ekmett/lens
Browse files Browse the repository at this point in the history
  • Loading branch information
ekmett committed Nov 6, 2012
2 parents 481a299 + 6d7f7e2 commit f0f7671
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Control/Lens/Getter.hs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{-# LANGUAGE MagicHash #-}
{-# LANGUAGE CPP #-}
{-# LANGUAGE Rank2Types #-}
{-# LANGUAGE MultiParamTypeClasses #-}
Expand Down Expand Up @@ -207,7 +208,7 @@ view l = runAccessor# (l Accessor)
-- 'views' :: 'Monoid' m => 'Control.Lens.Type.Simple' 'Control.Lens.Traversal.Traversal' s a -> (a -> m) -> s -> m
-- @
views :: Getting r s t a b -> (a -> r) -> s -> r
views l f = runAccessor# (l (Accessor# f))
views l f = runAccessor# (l (accessor# f))
{-# INLINE views #-}

-- | View the value pointed to by a 'Getter', 'Control.Lens.Iso.Iso' or
Expand Down

0 comments on commit f0f7671

Please sign in to comment.