3 ms·
With the noweb syntax, I think you can just write: <<imports>> code you want to show and then later define what `imports` should be.
by bennofs 8y ago
With the noweb syntax, I think you can just write:
<<imports>>
code you want to show
and then later define what `imports` should be.
- andreareina 8y agoIndeed. You can also define several `imports` blocks, and the contents of each block will be concatenated during expansion. So your literate source can have the imports located near where they're used, but in the tangled code they'll be up top where most people expect them to be.