What you're seeing is that `scribble/srcdoc` looks for the _binding_
of `->` from `racket/contract` which is being shadowed by the version
of `->` from `ffi/unsafe`. I would do something like this:
#lang racket
(require (rename-in ffi/unsafe [-> -->]) scribble/srcdoc)
(provide
(proc-doc/names
a-struct?
(-> any/c boolean?)
(a)
("Returns true if a is a-struct")))
(struct a-struct (b))
and then use `-->` in ffi declarations.
Sam
> --
> You received this message because you are subscribed to the Google Groups "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
racket-users...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/racket-users/2ac9a533-4325-53da-6855-01bd07da81a3%40trustica.cz.