reprovide-lang
1 #lang reprovide
#%module-begin
2 reprovide as a macro
reprovide
7.1

reprovide-lang

1 #lang reprovide

A #lang language for reproviding modules.

For example, a module that reprovided racket/match and racket/list at runtime, and provided racket/base and syntax/parse for-syntax would look like this:
#lang reprovide
racket/match
racket/list
(for-syntax racket/base
            syntax/parse)

syntax

(#%module-begin require-spec ...)

Expands to the form (reprovide require-spec ...) within racket/base’s #%module-begin form.

2 reprovide as a macro

This module provides reprovide as a macro.

syntax

(reprovide require-spec ...)

This form requires each require-spec and provides everything imported from all of them.