Try to add missing flip function for NixOS

svn path=/nixpkgs/trunk/; revision=17933
This commit is contained in:
Michael Raskin 2009-10-23 07:00:15 +00:00
parent 59613ffe56
commit a9a462f13d

View File

@ -15,4 +15,6 @@ rec {
# Take a function and evaluate it with its own returned value.
fix = f: let result = f result; in result;
# Flip argument order
flip = f: x: y: f y x;
}