clean-up: Nix.hs: evaluateExpression: use Kleisli composition
This commit is contained in:
parent
b035e373d6
commit
eb8c2252cb
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue