[PATCH 1/3] Implement nand, nor, nany and nall in Data.List

Alexander Berntsen alexander at plaimi.net
Thu Feb 27 15:55:16 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 27/02/14 16:44, Niklas Haas wrote:
> In lens we have ‘none’ for what you call nany, which I find much
> more readable and clear. I don't like ‘nall’ either but I don't
> know a better term for it. nand/nor at least are in widespread use
> outside of this patch, so I don't find them to be too confusing.
I agree that `none' is more readable than `nany' (though I have seen
`nany' used elsewhere). However, I couldn't think of a better name for
`nall' -- and `nand' and `nor' are both very common nomenclature. As
such, I just settled for consistency.
- -- 
Alexander
alexander at plaimi.net
https://secure.plaimi.net/~alexander
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iF4EAREIAAYFAlMPX+QACgkQRtClrXBQc7XvAQEAkGAn2Dw0WJMD24BPSJFLbB5r
sQmrVc/+yWokEAc7LMQBAIQHnx+gWAFdjkD0R0nophjl4hm82vHPpkiyqWr0nDhN
=wYoY
-----END PGP SIGNATURE-----


More information about the Libraries mailing list