filmov
tv
Conditional Statements in Scheme - 'if' vs 'cond'

Показать описание
This video walks through using if & cond and shows how they can be used equivalently
0:06 - The "if' form
0:26 - The "cond" form
1:05 - Which is better - it doesn't matter!
1:15 - An example of using "if" when you have 2 conditions
1:26 - An example of using "cond" when you have 3 conditions
1:46 - Using a "cond" when you only have 2 conditions
2:01 - Using an "if" when you have 3 conditions
0:06 - The "if' form
0:26 - The "cond" form
1:05 - Which is better - it doesn't matter!
1:15 - An example of using "if" when you have 2 conditions
1:26 - An example of using "cond" when you have 3 conditions
1:46 - Using a "cond" when you only have 2 conditions
2:01 - Using an "if" when you have 3 conditions