Questions tagged [tail-recursion]
For questions where it is important that recursion occurs as a tail call.
3
questions
8
votes
2
answers
225
views
Tar implementation
I am writing a tar implementation for education purposes and I started with reading from a tar file and printing the file content.
I use recursion for getting the next tar header and googled "...
2
votes
1
answer
79
views
What is better to use for mapping value to Map of functions: tail recursion or foreach?
I want to map functions from my functions library (Map called as chain) to input string str. ...
1
vote
1
answer
437
views
Implementations of unzip in Racket
I've been practicing my folds and tail-call recursive programming, and I wanted to work on unzip for the general case as opposed to just pairs. This was very easy ...