[PATCH 3/3] Put nand, nor, nany and nall in Prelude

Alexander Berntsen alexander at plaimi.net
Thu Feb 27 15:13:02 UTC 2014


Again, if 'and' and 'or' are exposed without it being a problem, 'nand'
and 'nor' could be too without causing a dramatic namespace pollution.
---
 Prelude.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Prelude.hs b/Prelude.hs
index 6be7846..79e3868 100644
--- a/Prelude.hs
+++ b/Prelude.hs
@@ -83,7 +83,7 @@ module Prelude (
     -- ** Reducing lists (folds)
     foldl, foldl1, foldr, foldr1,
     -- *** Special folds
-    and, or, any, all,
+    and, or, nand, nor, any, all, nany, nall,
     sum, product,
     concat, concatMap,
     maximum, minimum,
-- 
1.8.3.2



More information about the Libraries mailing list