
27 Feb
2014
27 Feb
'14
12:28 p.m.
Hello Alexander, While the patches are nicely done, I'm -1 on these additions, as I don't think there's enough value (in terms of Fairbairn threshold) to have these definitions added. Fwiw, I'd go even as far as saying that I wouldn't miss it if `Data.List.{and,or}` weren't defined in `base` as I'd rather use the 'All' and 'Any' newtypes with their Monoid instances or just `{all,any} id`, given that `Data.List{all,any}` are already taken by `map`-preprocessed versions of `and`/`or`. Cheers, On 2014-02-27 at 16:13:00 +0100, Alexander Berntsen wrote: [...]
+nand :: [Bool] -> Bool +nand = not . and
[...]
+nor :: [Bool] -> Bool +nor = not . or