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

Erik Hesselink hesselink at gmail.com
Thu Feb 27 16:20:41 UTC 2014


Agreed, -1 for me too for the same reason.

Erik

On Thu, Feb 27, 2014 at 5:17 PM, Gregory Collins
<greg at gregorycollins.net> wrote:
> Thanks for the patches. This is a -1 vote from me: in general lately the
> trend has been against adding shorthand functions that can be expressed as
> the trivial combination of a few other combinators, especially in base.
>
>
> On Thu, Feb 27, 2014 at 7:12 AM, Alexander Berntsen <alexander at plaimi.net>
> wrote:
>>
>> 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
>>
>> _______________________________________________
>> Libraries mailing list
>> Libraries at haskell.org
>> http://www.haskell.org/mailman/listinfo/libraries
>
>
>
>
> --
> Gregory Collins <greg at gregorycollins.net>
>
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://www.haskell.org/mailman/listinfo/libraries
>


More information about the Libraries mailing list