Change a lambda to an uncurry

This commit is contained in:
Daniel Krol 2018-08-04 17:47:55 -04:00
parent c6718e374f
commit e8d75e4ab6

View file

@ -215,7 +215,7 @@ evalBinds recursive binds = do
scope <- currentScopes @_ @t
buildResult scope . concat =<< mapM (go scope) (moveOverridesLast binds)
where
moveOverridesLast = (\(x, y) -> y ++ x) .
moveOverridesLast = (uncurry (++)) .
partition (\case NamedVar (StaticKey "__overrides" :| []) _ _pos -> True
_ -> False)