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


Groups > comp.lang.haskell > #433

Re: how to generalize these two map into one map

From Mark Carroll <mtbc@bcs.org>
Newsgroups comp.lang.haskell
Subject Re: how to generalize these two map into one map
Date 2016-07-27 10:30 +0100
Organization none
Message-ID <87r3afpgvk.fsf@ixod.org> (permalink)
References <49f1ff1f-57f1-4f22-b943-fcbd28f6aac5@googlegroups.com> <87shuvjzrp.fsf@ixod.org> <fafce7db-6ed3-4c1e-9c71-035636a7fd54@googlegroups.com>

Show all headers | View raw


On 27 Jul 2016, meInvent bbird wrote:

> i do not know result too, 
> this is why i need to compile and run it to show this magic result
>
> *Main Data.Foldable> foldr ((map (+1.2) [1,2]) . (map (+1.4) [2,3])) 1.0

Exactly what were you hoping that this would do, though?

-- Mark

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


Thread

how to generalize these two map into one map Ho Yeung Lee <davidbenny2000@gmail.com> - 2016-07-26 22:08 -0700
  Re: how to generalize these two map into one map Mark Carroll <mtbc@bcs.org> - 2016-07-27 08:39 +0100
    Re: how to generalize these two map into one map meInvent bbird <jobmattcon@gmail.com> - 2016-07-27 02:17 -0700
      Re: how to generalize these two map into one map Mark Carroll <mtbc@bcs.org> - 2016-07-27 10:30 +0100
        Re: how to generalize these two map into one map meInvent bbird <jobmattcon@gmail.com> - 2016-07-27 20:20 -0700

csiph-web