Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #29675

Re: library for fast map/filter/reduce

Newsgroups comp.lang.javascript
Date 2016-02-23 21:53 -0800
References (1 earlier) <8e0eb84d-66c8-41da-847b-759f634bc4cd@googlegroups.com> <286742ed-e3f3-466f-9b4d-b9deb5bb4442@googlegroups.com> <f9863dd4-3361-4fc6-ab37-808b4222887a@googlegroups.com> <56e25c80-9c8e-4113-a6ad-07d7c321b5db@googlegroups.com> <87lh6f32k1.fsf@bsb.me.uk>
Message-ID <055e2127-2b3a-4d16-a969-d4e09a9b070c@googlegroups.com> (permalink)
Subject Re: library for fast map/filter/reduce
From glathoud <glathoud@yahoo.fr>

Show all headers | View raw


On Saturday, February 20, 2016 at 2:59:52 PM UTC+1, Ben Bacarisse wrote:
> glathoud <glathoud@yahoo.fr> writes:
> <snip>
> > Side note about lambdas: it would be nice to be able to write some
> > without variables at all. OCaml has an interesting notation where one
> > can wrap an operator + into a function (+)
> 
> Haskell has that too, and it came (at least in the case of Haskell),
> from Miranda designed by David Turner.  He may have got it from a 1973
> dissertation by Wile and (like so many such things) it probably has even
> older roots in mathematical logic.
> 
> Haskell (and Miranda) can go both ways.  (+) is a function make from an
> operator, but given a function like mod, you can make an operator from
> it using `...`:
> 
>   95 `mod` 10
> 
> is 5.  And you can combine the two.  Since operators permit sections
> using either operand it can be handy to write (`mod` 10) for the "modulo
> 10" function.
> 
> <snip>
> -- 
> Ben.

Thanks for giving the big picture about this topic. I did not know all that!

Best regards,
Guillaume

Back to comp.lang.javascript | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

library for fast map/filter/reduce glathoud <glathoud@yahoo.fr> - 2016-02-16 22:24 -0800
  Re: library for fast map/filter/reduce Scott Sauyet <scott.sauyet@gmail.com> - 2016-02-18 20:01 -0800
    Re: library for fast map/filter/reduce glathoud <glathoud@yahoo.fr> - 2016-02-19 02:10 -0800
      Re: library for fast map/filter/reduce Scott Sauyet <scott.sauyet@gmail.com> - 2016-02-19 08:44 -0800
        Re: library for fast map/filter/reduce glathoud <glathoud@yahoo.fr> - 2016-02-20 04:03 -0800
          Re: library for fast map/filter/reduce Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-02-20 13:59 +0000
            Re: library for fast map/filter/reduce glathoud <glathoud@yahoo.fr> - 2016-02-23 21:53 -0800
  Re: library for fast map/filter/reduce "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2016-02-23 19:22 -0800
    Re: library for fast map/filter/reduce glathoud <glathoud@yahoo.fr> - 2016-02-23 22:11 -0800

csiph-web