Welcome to the CHICKEN Scheme pasting service

Expansion-time error printing added by dzoe on Wed May 24 21:34:30 2023

$ csc kwargs-tests.scm

Syntax error: kwargs-tests.scm:24

	"proc3 - keyword, identifier or list required: 'a"

	Expansion history:

	<eval>	  (##sys#pair? temp1386)
	<eval>	  (##sys#cdr temp1386)
	<eval>	  (##sys#pair? temp1386)
	<eval>	  (##sys#eq? (##sys#cdr temp1386) (quote ()))
	<eval>	  (##sys#cdr temp1386)
	<eval>	  (##sys#car tail1385)
	<eval>	  (##sys#car (##sys#cdr tail1385))
	<eval>	  (##sys#cdr tail1385)
	<eval>	  (##sys#car (##sys#cdr (##sys#cdr tail1385)))
	<eval>	  (##sys#cdr (##sys#cdr tail1385))
	<eval>	  (##sys#cdr tail1385)
	<syntax>	  (##core#begin "'")
	<syntax>	  (quote a)
	<syntax>	  (##core#quote a)
	<eval>	  (syntax-error1293 (expansion-line1294 proc3) (format1295 "~A - keyword, identifier or list required:...
	<eval>	  (format1295 "~A - keyword, identifier or list required: ~A~A" (quote1296 proc3) (if-symbol?1297 (quo...	<--

Error: shell command terminated with non-zero exit status 17920: '/usr/bin/chicken' 'kwargs-tests.scm' -output-file 'kwargs-tests.c'

========

$ csi -q -b kwargs-tests.scm
123
proc
a3

Error: proc3 - keyword, identifier or list required: 'a

	Call history:

	<eval>	  (##sys#pair? temp2379)
	<eval>	  (##sys#cdr temp2379)
	<eval>	  (##sys#pair? temp2379)
	<eval>	  (##sys#eq? (##sys#cdr temp2379) (quote ()))
	<eval>	  (##sys#cdr temp2379)
	<eval>	  (##sys#car tail2378)
	<eval>	  (##sys#car (##sys#cdr tail2378))
	<eval>	  (##sys#cdr tail2378)
	<eval>	  (##sys#car (##sys#cdr (##sys#cdr tail2378)))
	<eval>	  (##sys#cdr (##sys#cdr tail2378))
	<eval>	  (##sys#cdr tail2378)
	<syntax>	  (##core#begin "'")
	<syntax>	  (quote a)
	<syntax>	  (##core#quote a)
	<eval>	  (syntax-error2286 (expansion-line2287 proc3) (format2288 "~A - keyword, identifier or list required:...
	<eval>	  (format2288 "~A - keyword, identifier or list required: ~A~A" (quote2289 proc3) (if-symbol?2290 (quo...	<--

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
Which R5RS procedure returns `'(2 3)' when given `'(1 2 3)' as input?
Visually impaired? Let me spell it for you (wav file) download WAV