Welcome to the CHICKEN Scheme pasting service

weird stuff happening pasted by sjamaan on Sun May 29 13:22:02 2011

(module bla (foo)

(import chicken scheme foreign)

(define-external
  (blabla (int baton) (c-string path)
               (int dirent)
               (int lock)
               (c-string base-path) (int pool))
  void
  (print "HELLO"))

(define (foo) ((foreign-safe-lambda* void () "blabla(1, \"2\", 3, 4, \"5\", 6);")))
)

(import bla)
(foo)

no title added by anonymous on Sun May 29 13:43:11 2011

Error: bad argument count - received 6 but expected 2: #<procedure>

	Call history:

	test.scm:17: bla#foo	  
	##sys#gc	  
	g2627	  	<--

Your annotation:

Enter a new annotation:

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