Welcome to the CHICKEN Scheme pasting service

i dumb added by megane on Thu May 31 12:44:35 2012

(use lolevel)

(define-record foo a b)

(let [(afoo (make-foo 1 1))]
  (print (foo-a afoo))
  
  ((foreign-lambda* void (((c-pointer number) a))
		    "*a=100;")
   (make-locative afoo 1))

  (print "here")
  
  (print (foo-a afoo))
  (print (foo-b afoo))
)

;; Output
;; 1
;; here
;; 1
;; Segmentation fault

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
What module provides regular expressions support?
Visually impaired? Let me spell it for you (wav file) download WAV