Welcome to the CHICKEN Scheme pasting service

load-and-import added by gahr on Tue Jan 24 09:23:59 2023

(define-syntax load-and-import
  (syntax-rules ()
    ((load-and-import mod ...)
     (begin
       (begin
         (load (sprintf "~A.scm" (symbol->string 'mod)))
         (import mod) ;; THIS
         ) ...
       ))))

(load-and-import foo bar)

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
Which operator can be represented by an apostrophe?
Visually impaired? Let me spell it for you (wav file) download WAV