private-in
private-in
require
8.12

private-in🔗ℹ

Cameron Moy

 (require private-in) package: private-in

This module provides functionality like require/expose, but as a require specification instead. Importing private bindings should be considered unsafeuse at your own risk.

syntax

(private-in module-path)

Imports provided bindings from module-path and unexported run-time and transformer bindings defined in the module.

Examples:
> (module inner racket/base
    (define foo 42))
> (require (private-in 'inner))
> foo

42

syntax

(require require-spec ...)

You must use the require exported by this module instead of the base require.