Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: The Great Computer Language Shootout

From: sunandadh:aol at: 5-Jan-2002 15:02

Hi Ladislav,
> it looks like the Rebol stack depth is too low to compute ACK 3 8. That > is why I wrote my version that uses a block to store intermediate results. > This version is slower than a recursive version and there's no doubt that
> can be optimised. <snip>
Can I combine this thread with "Source code layout question" and ask "why the prefixed colons?" n: :n + 1 Unless I'm missing a subtle syntax issue or speed optimization, that's the same as n: n + 1 although I can see that it does lead to a slight bit of additional orthogonality in something like: mySeries: [1 2 3 4 5 5 6] n: :n + 1 print :myseries/:n where the 2nd colon is needed in the print statement. Pity we can't write: mySeries: :[1 2 3 4 5 5 6] for complete consistency <g> Sunanda.