Back to General discussions forum
All code I've written on https://tinyscheme-r7.sourceforge.io/emu.html always seems to return error code 255. Even the following simple program returns error code 255.
(define (transpose x) (car (car x)))
Hi Friend!
Sorry for confusion - the problem statement lacks minimal example - I just added it:
(define (transpose x)
'())
The trouble with your code is that x
may not have car
(e.g. if checker runs against empty list).
I shall try to see if error reporting in such cases could be made more clear...