Welcome to the CHICKEN Scheme pasting service

chicken-memv problem added by seth on Sun Jan 1 22:41:23 2012

#!/usr/local/bin/csi -script
;;  csc c-test.scm -output-file c-test
(define variable-chars (list #\a #\i #\j #\k #\l #\m #\n #\o #\p #\q))
(display (memv #\a variable-chars)) (newline)
(display (memv #\p variable-chars)) (newline)

$ ./c-test.scm
(a i j k l m n o p q)
(p q)
$ csc c-test.scm -output-file c-test
$ ./c-test
(a i j k l m n o p q)
#f


$ csc -V
(c)2008-2011 The Chicken Team
(c)2000-2007 Felix L. Winkelmann
Version 4.7.0 
linux-unix-gnu-x86-64 [ 64bit manyargs dload ptables ]
compiled 2011-12-30 on clank (Linux)

Enter `chicken -help' for information on how to use the compiler,
or try `csc' for a more convenient interface.

Run `csi' to start the interactive interpreter.
$ csi -v

CHICKEN
(c)2008-2011 The Chicken Team
(c)2000-2007 Felix L. Winkelmann
Version 4.7.0 
linux-unix-gnu-x86-64 [ 64bit manyargs dload ptables ]
compiled 2011-12-30 on clank (Linux)

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
Which procedure can be used to check whether its argument is a symbol?
Visually impaired? Let me spell it for you (wav file) download WAV