clean-up: Nix.hs: evaluateExpression: use Kleisli composition

This commit is contained in:
Anton-Latukha 2020-09-18 17:24:29 +03:00
parent b035e373d6
commit eb8c2252cb
No known key found for this signature in database
GPG Key ID: 3D84C07E91802E41
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ evaluateExpression mpath evaluator handler expr = do
Success x -> x
Failure err -> errorWithoutStackTrace (show err)
eval' = (normalForm =<<) . nixEvalExpr mpath
eval' = normalForm <=< nixEvalExpr mpath
argmap args = nvSet (M.fromList args) mempty