[PATCH 0/3] Implement nand/nor/nany/nall in Data.List

Alexander Berntsen alexander at plaimi.net
Thu Feb 27 15:12:59 UTC 2014


Hi. I'm a complete GHC newbie (and, really, a Haskell newbie still as 
well). To dive in and learn, I hacked together this.

I did it primarily to familiarise myself with GHC workflow, formalities 
and procedures. Things like style conventions, using Trac, learning how 
to build GHC, how the files are structured and so on.

However, my primary intention of learning does not mean that I don't 
find these patches valuable. I'm sick of typing (not . and), and even 
more sick of reading it. I find nand much more intuitive to read.

Herbert told me to send these here since they affect base. I can imagine 
people are vary of putting stuff in base, and certainly prelude. But if 
I seem ignorant and ahistorical, that's because I *am*. So please, if 
there is something wrong with my patches, don't hesitate to educate me. 
Learning the ways of GHC hacking is after all my long-term goal. :-)

Alexander Berntsen (3):
  Implement nand, nor, nany and nall in Data.List
  Inline nand, nor, nany and nall
  Put nand, nor, nany and nall in Prelude

 Data/List.hs |  4 ++++
 GHC/List.lhs | 38 ++++++++++++++++++++++++++++++++++++--
 Prelude.hs   |  2 +-
 changelog.md |  3 +++
 4 files changed, 44 insertions(+), 3 deletions(-)

-- 
1.8.3.2



More information about the Libraries mailing list