Hi, On 23. 12. 19 15:29, Sam Tobin-Hochstadt wrote: > 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.
that is exactly what I was looking for. All the "unsafe" parts can get really "unsafe" during any stage though ... Thank you! Dominik -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/390de732-d2a7-343a-e36f-d693a1da8cc4%40trustica.cz.