public
Last active

  • Download Gist
1. some-r6rs.rkt
Racket
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
(module wheeeee r6rs (#%module-begin (library (wheeeee (1 1))
(export run)
(import (library (rnrs base (6)) ))
; implementation of `run`
(define (run a)
(printf "running!\n") )
)) (#%module-begin
(import (library (wheeeee (1 1)) ))
(run "foo")
) )
2. Exception
1 2 3 4 5 6 7
some-r6rs.rkt:1:22: top-level-program: expected an `import' declaration, found
something else in: (#%module-begin (library (wheeeee (1 1)) (export run) (import
(library (rnrs base (6)))) (define (run a) (printf
"running!\n"))))
 
=== context ===
standard-module-name-resolver

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.