Skip to main content
grasp.study
About
Explore
Pricing
Log in
Try it for free
Back to course
👋
Welcome to a Grasp lesson
Create a free account
to keep studying and create your own study path.
Programming Language History & Theory
·
Module 2
Recursion and Structural Thinking
1
Recursive List Processing: Lisp vs. Modern Functional Languages
Write recursive functions for list processing, comparing Lisp's original approach with modern functional languages.
2
Recursion on Recursive Data Types
Apply structural recursion to process recursive data types (e.g., lists, trees), recognizing it as the natural approach pioneered by the ML language family.
3
Tail Recursion and Tail-Call Optimization
Identify tail-recursive functions and explain how compilers for languages like Scheme and Haskell perform tail-call optimization.
4
Tail Recursion with Accumulators
Transform non-tail-recursive functions into tail-recursive form using the accumulator-passing style.
5
Recursion vs. Iteration: Design Philosophies
Compare recursion-first (e.g., Haskell) and iteration-first (e.g., Python) design philosophies for solving problems.
Previous module
Foundations of Functional Programming
Next module
Higher-Order Functional Patterns