AnsweredAssumed Answered

Tail recursion equivalent to this...?

Question asked by flusheddata on Feb 20, 2016
Latest reply on Feb 21, 2016 by beverly

Hi everyone,

In order for me to understand tail recursion with a sample as simple as possible would anybody put a tail recursion version of the following funcion?

 

Stacked version of Reverse ( Text ):

 

Case (

  Length ( Text ) > 1 ;

  Reverse ( Right ( Text ; Length ( Text ) - 1 )  ) & Left ( Text ; 1 ) ;

  Text

)

 

Thank you very much in advance.

 

Kind regards,

Miguel

Outcomes