racket / slideshow

Other
34 stars 21 forks source link

The #:gap-size keyword argument is not permitted by the contract used by item and subitem #1

Closed lexi-lambda closed 9 years ago

lexi-lambda commented 9 years ago

The docs claim it exists, and it's used by the implementation, but the contract doesn't include it, so it can't actually be used.

item/kw: contract violation
  received: unexpected keyword argument #:gap-size
  in: (->*
       ()
       (#:align
        (or/c 'left 'center 'right)
        #:bullet
        pict?
        #:decode?
        any/c
        #:fill?
        any/c
        #:width
        real?)
       #:rest
       elem/c
       pict?)
  contract from: 
      <pkgs>/slideshow-lib/slideshow/slide.rkt
rfindler commented 9 years ago

Thanks.

https://github.com/racket/slideshow/commit/43fdcb4cef913d40207b354bdb29e8ef60ff3941