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


Groups > comp.lang.c > #112311

Re: Algorithm/code to compare values in an array

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:10 +0100
Organization A noiseless patient Spider
Message-ID <87lgos6bco.fsf@bsb.me.uk> (permalink)
References (4 earlier) <8737b07uwa.fsf@bsb.me.uk> <interpretations-20170615233708@ram.dialup.fu-berlin.de> <87wp8c6czy.fsf@bsb.me.uk> <interpretations-20170616004841@ram.dialup.fu-berlin.de> <larger-symbol-20170616005836@ram.dialup.fu-berlin.de>

Show all headers | View raw


ram@zedat.fu-berlin.de (Stefan Ram) writes:

> 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.
>
>   Also, 
>
> 2>3
>
>   means »2 is larger than 3«. So, »>« is converted into
>   English words as »is larger than«. Putting that into
>   »the min s > the min q«, we get
>
> »the min s is larger than the min q«.

That's not how language or mathematics work.  The words used matter.

-- 
Ben.

Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


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