CS2613/journal/_src/posts/2022-09-26-lab-05.md

14 lines
566 B
Markdown
Raw Normal View History

2022-09-27 18:14:26 -03:00
Title: Lab Five
2022-09-27 18:09:00 -03:00
Date: 2022-09-26T08:30:00
Tags: cs2613, lab, racket, recursion, pattern-matching
In this lab I learned about tail end recursion and attempted pattern matching
<!-- more -->
## Tail end recursion
I learned about tail end recursion and how this is way more efficient on the stack, and that racket has certain guarantees about the efficiency of tail end recursion
## Pattern matching
It was hard for me to see how to utilize pattern matching. I am sure after spending more time with it on the assignment I will be able to figure it out.