Skip to content

Commit

Permalink
Simplify code
Browse files Browse the repository at this point in the history
  • Loading branch information
Shimuuar committed May 14, 2016
1 parent a2ab7ef commit 4b1a3d2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions fixed-vector/Data/Vector/Fixed/Cont.hs
Expand Up @@ -408,9 +408,8 @@ uncurryMany :: forall n k a b. Arity n
{-# INLINE uncurryMany #-}
uncurryMany f =
case witSum :: WitSum n k a b of
WitSum ->
case fmap unFun f :: Fun n a (Fn k a b) of
g -> coerce g
WitSum -> coerce (fmap unFun f :: Fun n a (Fn k a b))



-- | Apply last parameter to function. Unlike 'apFun' we need to
Expand Down

0 comments on commit 4b1a3d2

Please sign in to comment.