eopl icon indicating copy to clipboard operation
eopl copied to clipboard

exercise 1.13 has a question.

Open lyerox opened this issue 6 years ago • 2 comments

Should need (null? slist) test with the definition of kleene star pattern ?

lyerox avatar Mar 26 '19 16:03 lyerox

@lyerox No you wouldn't need to deconstruct the slist when using map.

dwayne avatar Apr 06 '20 14:04 dwayne

Actually, I believe it is wrong to add the null checking, as the text explicitly told us to follow the original grammar (using the Kleene's star), not the decomposed grammar.

Zeta611 avatar Dec 31 '21 13:12 Zeta611