Overview
(scheme load) provides load, which reads and evaluates the expressions in a Scheme source file as if they were typed at the REPL.
Common uses
(import (scheme load))
(load "helpers.scm") ;; evaluate every form in the file
load is convenient for scripts and interactive work. For structured code reuse, prefer libraries and import.
load
Syntax: (load filename) (load filename environment)
Library: (scheme load)
Description: Reads and evaluates all expressions from the named Scheme source file. If an environment is given, evaluates in that module's environment.
Example:
(load "mylib.scm")