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


Groups > comp.lang.forth > #37977

Re: tiny usable ycombinator

From Paul Rubin <no.email@nospam.invalid>
Newsgroups comp.lang.forth
Subject Re: tiny usable ycombinator
Date 2015-04-05 12:50 -0700
Organization A noiseless patient Spider
Message-ID <87pp7i4ano.fsf@jester.gateway.sonic.net> (permalink)
References <e0d82db3-c7d5-44a4-b3ee-64bae33849b6@googlegroups.com> <mfs2vr$drb$1@dont-email.me>

Show all headers | View raw


"WJ" <w_a_x_man@yahoo.com> writes:
> Oforth:
>  > 1 #* 5 seq apply .s
>  [1] (Integer) 120

That misses the point.  You are supposed to do this without using any
iteration or recursion, including "seq" which works iteratively or
recursively under the hood.

https://en.wikipedia.org/wiki/Fixed-point_combinator

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


Thread

tiny usable ycombinator humptydumpty <ouatubi@gmail.com> - 2015-04-04 14:39 -0700
  Re: tiny usable ycombinator Paul Rubin <no.email@nospam.invalid> - 2015-04-05 11:15 -0700
    Re: tiny usable ycombinator humptydumpty <ouatubi@gmail.com> - 2015-04-05 12:55 -0700
      Re: tiny usable ycombinator franck.bensusan@gmail.com - 2015-04-06 01:35 -0700
  Re: tiny usable ycombinator "WJ" <w_a_x_man@yahoo.com> - 2015-04-05 19:38 +0000
    Re: tiny usable ycombinator Paul Rubin <no.email@nospam.invalid> - 2015-04-05 12:50 -0700

csiph-web