| The following code recurses indefinitely: (rem '(1) [#t])
The second argument is not a list, so rem tries to coerce it into a list, but coerce just returns the lambda, and rem calls itself with the same arguments. Thank god for tail call optimalisation, or you'd have a stack overflow! ;-) |