4

Is it possible to have

@defproc[(foo) bar]{
  Blah blah
}

where bar is defined via deftech while linking to bar correctly?

Sorawee Porncharoenwase
  • 6,305
  • 1
  • 14
  • 28
  • 1
    This question on the Racket Users list might help: [_HtDP data definitions in Scribble_](https://groups.google.com/d/msg/racket-users/J-x0C07b0V8/cRQRxam7NpYJ) – Alex Knauth Jan 23 '20 at 13:26

1 Answers1

4

Yes! Use #,:

#lang scribble/manual

@defproc[(foo) #,(tech "bar")]{
  Blah blah
}

@section{What is bar?}

A @deftech{bar} is a baz.
Sorawee Porncharoenwase
  • 6,305
  • 1
  • 14
  • 28