Skip to content

Commit

Permalink
Merge pull request #186 from RyanGlScott/as-pattern-whitespace
Browse files Browse the repository at this point in the history
Remove whitespace after '@' in as-patterns
  • Loading branch information
snoyberg authored Dec 25, 2019
2 parents cf3858a + 005c1e3 commit 502d2b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mono-traversable/src/Data/MonoTraversable.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1314,7 +1314,7 @@ class MonoFunctor mono => MonoComonad mono where
instance MonoComonad (ViewL a) where
oextract ~(x :< _) = x
{-# INLINE oextract #-}
oextend f w@ ~(_ :< xxs) =
oextend f w@(~(_ :< xxs)) =
f w :< case Seq.viewl xxs of
EmptyL -> Seq.empty
xs -> case oextend f xs of
Expand All @@ -1324,7 +1324,7 @@ instance MonoComonad (ViewL a) where
instance MonoComonad (ViewR a) where
oextract ~(_ :> x) = x
{-# INLINE oextract #-}
oextend f w@ ~(xxs :> _) =
oextend f w@(~(xxs :> _)) =
(case Seq.viewr xxs of
EmptyR -> Seq.empty
xs -> case oextend f xs of
Expand Down

0 comments on commit 502d2b7

Please sign in to comment.