count has misleading error message

For the Compleat Fan
Post Reply
Jeff
Posts: 604
Joined: Sat Apr 07, 2007 2:23 pm
Location: Ohio
Contact:

count has misleading error message

Post by Jeff »

When count is missing an argument, the interpreter errors out without any trace and without saying in which function (count) the error occurred in. You just get:

Code: Select all

(count foo) ; => missing argument
Jeff
=====
Old programmers don't die. They just parse on...

Artful code

Post Reply