Re: [racket-users] ffi-lib and scribble/srcdoc

2019-12-23 Thread Dominik Pantůček
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

Re: [racket-users] ffi-lib and scribble/srcdoc

2019-12-23 Thread Sam Tobin-Hochstadt
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

[racket-users] ffi-lib and scribble/srcdoc

2019-12-23 Thread Dominik Pantůček
Hello, apart from parallel sorting and working with unsafe ops, I stumbled upon a very strange behavior using ffi-lib: -->8-- #lang racket (require scribble/srcdoc) (provide (proc-doc/names a-struct? (-> any/c boolean?) (a) ("Returns true if a is a-struct"))) (struct