on master help sign in
Add `xor` function.
commit398ef59fe960b7976833a348cd48e1afffed0a18 authorevancz <info@elm-lang.org> dateTue 15 Jan 2013, 19:49 (14 years ago) parentcefe6f5
1 file changed+1
core-js/Prelude.js+1
core-js/Prelude.js+1
@@ -99,6 +99,7 @@ Elm.Prelude = function() {
9999 return {eq : Value.eq,
100100 id : function(x) { return x; },
101101 not : function(b) { return !b; },
102+ xor : function(x) { return function(y) { return x != y; }; },
102103 fst : function(p) { return p[1]; },
103104 snd : function(p) { return p[2]; },
104105 rem : function(x) { return function(y) { return x % y; }; },