I'm assuming you're talking about: 
[https://rosettacode.org/wiki/Reverse_words_in_a_string#Nim](https://rosettacode.org/wiki/Reverse_words_in_a_string#Nim)

Look closely at that code and the 2 links I send.

You mentioned you can't do 
    
    
     list.reverse().join() 
    
    Run

BUT! reverse() modifies the list in place(thus doesn't return anything). 
reversed() works fine, since it returns a new list and you can call join() on 
that.

Reply via email to