1.11 API for Reading Compilation Dependencies

► |  | raco: Racket Command-Line Tools

1 | raco make: Compiling Source to Bytecode
2 | raco exe: Creating Stand-Alone Executables
3 | raco distribute: Sharing Stand-Alone Executables
4 | raco planet: Automatic Package Distribution
5 | raco pkg: Package Management
6 | raco setup: Installation Management
7 | raco decompile: Decompiling Bytecode
8 | raco demod: Demodularizing Programs
9 | raco link: Library Collection Links
10 | raco pack: Packing Library Collections
11 | raco unpack: Unpacking Library Collections
12 | raco ctool: Working with C Code
13 | raco test: Run tests
14 | raco docs: Documentation Search
15 | raco expand: Macro Expansion
16 | raco read: Reading and Pretty-Printing
17 | raco scribble: Building Documentation
18 | Adding a raco Command
19 | Installation Configuration and Search Paths

▼ | 1 | raco make: Compiling Source to Bytecode

1.1 | Running raco make
1.2 | Bytecode Files
1.3 | Dependency Files
1.4 | API for Making Bytecode
1.5 | API for Parallel Builds
1.6 | Compilation Manager Hook for Syntax Transformers
1.7 | API for Simple Bytecode Creation
1.8 | API for Bytecode Paths
1.9 | Compiling to Raw Bytecode
1.10 | API for Raw Compilation
1.11 | API for Reading Compilation Dependencies

On this page:

module-recorded-dependencies

Racket
top contents ← prev up next →

### 1.11 API for Reading Compilation Dependencies🔗ℹ

(require compiler/depend) | package: base

The compiler/depend module provides a function to inspect and traverse the dependency information generated by raco make, raco setup, or compiler/cm.

Added in version 6.90.0.13 of package base.

> procedure (module-recorded-dependencies module-file)
> → (listof (and path? (complete-path? path?)))
> module-file : path?

Given a module-file for a file that has been compiled with raco make, raco setup, or compiler/cm, returns a list of dependencies for module-file by reading and traversing dependency-information files left behind by compilation.
top contents ← prev up next →