Welcome to the CHICKEN Scheme pasting service

define/let for the archive pasted by DerGuteMoritz on Sun Oct 2 20:54:18 2011

(define/let (cool? x)
  ((cool-stuff '(ice arctic-sea morrissey))) 
  (memq x cool-stuff))

;; => 

(define cool?
  (let ((cool-stuff '(ice arctic-sea morrissey)))
    (lambda (x)
      (memq x cool-stuff))))

my attempt added by qu1j0t3 on Sun Oct 2 21:06:18 2011


(define-syntax define/let
  (syntax-rules ()
    ((_ (sym . args) let-list . body)
     (define sym
       (let let-list
         (lambda args . body))))))

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
Which R5RS procedure can be used to concatenate strings?
Visually impaired? Let me spell it for you (wav file) download WAV