Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c > #112310
| From | Ben Bacarisse <ben.usenet@bsb.me.uk> |
|---|---|
| Newsgroups | comp.lang.c |
| Subject | Re: Algorithm/code to compare values in an array |
| Date | 2017-06-16 01:04 +0100 |
| Organization | A noiseless patient Spider |
| Message-ID | <87r2yk6bn2.fsf@bsb.me.uk> (permalink) |
| References | (3 earlier) <wording-20170615222800@ram.dialup.fu-berlin.de> <8737b07uwa.fsf@bsb.me.uk> <interpretations-20170615233708@ram.dialup.fu-berlin.de> <87wp8c6czy.fsf@bsb.me.uk> <interpretations-20170616004841@ram.dialup.fu-berlin.de> |
ram@zedat.fu-berlin.de (Stefan Ram) writes: > Ben Bacarisse <ben.usenet@bsb.me.uk> writes: >>Isn't that what I said? In Haskell minimum [ x | x <- s, x > minimum q ] > > Yes, but it is only one possible interpretation. > >>I don't think that's a possible meaning unless you are assuming it's >>badly worded. > > Using what little I learned from Haskell by your expression > from above, this interpretation in Haskell would read: > > minimum s > minimum q > > which looks quite similar to > >>>>>>|the min s > the min q > > , so it might not be that far-fetched. Sorry, but I think it is far fetched. The OP used English and a little maths and I can't see how the English words used can mean what you suppose. The word "the" followed the word "find" and that's crucial: | I want to find: | | 1. the min s > the min q | 2. the max s < the max q Your "other" meaning would be "I want to find out if the min s > the min q" and with this phrasing the two words "the" are not really needed anymore, though not actually wrong. (Please stop cutting the only text that matters -- what the OP wrote.) -- Ben.
Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Algorithm/code to compare values in an array DFS <nospam@dfs.com> - 2017-06-15 11:16 -0400
Re: Algorithm/code to compare values in an array Richard Heathfield <rjh@cpax.org.uk> - 2017-06-15 16:41 +0100
Re: Algorithm/code to compare values in an array DFS <nospam@dfs.com> - 2017-06-15 13:48 -0400
Re: Algorithm/code to compare values in an array Richard Heathfield <rjh@cpax.org.uk> - 2017-06-15 19:47 +0100
Re: Algorithm/code to compare values in an array Gareth Owen <gwowen@gmail.com> - 2017-06-15 20:17 +0100
Re: Algorithm/code to compare values in an array Richard Heathfield <rjh@cpax.org.uk> - 2017-06-15 20:51 +0100
Re: Algorithm/code to compare values in an array Barry Schwarz <schwarzb@dqel.com> - 2017-06-15 11:43 -0700
Re: Algorithm/code to compare values in an array DFS <nospam@dfs.com> - 2017-06-15 19:21 -0400
Re: Algorithm/code to compare values in an array Barry Schwarz <schwarzb@dqel.com> - 2017-06-15 18:49 -0700
Re: Algorithm/code to compare values in an array Real Troll <Real.Troll@Trolls.com> - 2017-06-15 16:35 -0400
Re: Algorithm/code to compare values in an array Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-06-15 21:34 +0100
Re: Algorithm/code to compare values in an array Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-06-15 23:23 +0100
Re: Algorithm/code to compare values in an array Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-06-16 00:35 +0100
Re: Algorithm/code to compare values in an array Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-06-16 01:04 +0100
Re: Algorithm/code to compare values in an array Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-06-16 01:10 +0100
Re: Algorithm/code to compare values in an array DFS <nospam@dfs.com> - 2017-06-15 20:45 -0400
Re: Algorithm/code to compare values in an array DFS <nospam@dfs.com> - 2017-06-15 20:00 -0400
csiph-web