My reading of the documentation for `nested-flow`

https://docs.racket-lang.org/scribble/core.html#%28def._%28%28lib._scribble%2Fcore..rkt%29._make-nested-flow%29%29

is that I can use 'inset as the first argument. However, when I try to do 
so, I get a contract error:

make-nested-flow: contract violation

  expected: style?

  given: 'inset

  in: the 1st argument of

      (-> style? (listof block?) nested-flow?)

  contract from: 

      <pkgs>/scribble-lib/scribble/core.rkt

This *looks* like it contradicts the documentation, which says that the 
first argument is any/c:



Even if the documentation is wrong, I'm not sure why 'inset is being 
rejected…

Thanks,
Shriram

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/6b1fd9c4-b3ef-4a3f-a95a-05f913a0afcbo%40googlegroups.com.

Reply via email to