Re: recursing quirk

new topic     » goto parent     » topic index » view thread      » older message » newer message

Matthew McNamara wrote:
>there's a little quirk with recursing in euphoria, examine the
>logic in i_am_a_bug() and i_am_not_a_bug(), it appears the same
>yet executes differently
recursion was nevah my strong point
(show me someone who says their
strong point is recursion and i'll
show you someone who has
STACKS=9e1000,256e10000
in their config.sys)
but i ran your program and got the following output:
----begin paste
Parameter 1 is an atom.  Parameter 2 is a sequence.
Parameter 1 is a sequence.  Parameter 2 is an atom.
looks ok to me, parameters have swapped
Parameter 1 is an atom.  Parameter 2 is a sequence.
Parameter 1 is a sequence.  Parameter 2 is an atom.
my my, I now have two copies of parameter2
----end paste
now this was run with euph 2.0 and i dont see a problem?!?!
it's very much granted that i may not know what i'm looking
at here... also it may have been fixed in 2.0???

--eagerly awaiting enlightenment
--Hawke'

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu