Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.haskell > #433
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Mark Carroll <mtbc@bcs.org> |
| Newsgroups | comp.lang.haskell |
| Subject | Re: how to generalize these two map into one map |
| Date | Wed, 27 Jul 2016 10:30:55 +0100 |
| Organization | none |
| Lines | 10 |
| 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> |
| Mime-Version | 1.0 |
| Content-Type | text/plain |
| Injection-Info | mx02.eternal-september.org; posting-host="1b3e5cba9e4d07a53741e6f3d1717925"; logging-data="31794"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/ttsGqaxO48l/dfORj6ndL" |
| User-Agent | Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
| Cancel-Lock | sha1:EVhrBIfrR8GVSmtLSkFZm0qWvgI= sha1:3H+OQtUErOhelBzW0YSl/1tuMkA= |
| Xref | csiph.com comp.lang.haskell:433 |
Show key headers only | 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 | Next — Previous in thread | Next in thread | Find similar | Unroll 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