greghendershott / aws

Racket support for Amazon Web Services.
BSD 2-Clause "Simplified" License
78 stars 26 forks source link

Adjust contract of create-archive-from-port to match documentation #33

Closed nxg closed 9 years ago

nxg commented 9 years ago

Trivial change...

The documentation for create-archive-from-port says:

(create-archive-from-port  vault-name                        
                           port                              
                           description                       
                          [#:part-size part-size]) -> string?
  vault-name : string?                                       
  port : input-port?                                         
  description : string?                                      
  part-size : exact-nonnegative-integer? = (* 1024 1024)

This suggests that keyword #:part-size is optional, but the original contract requires it to be present.

greghendershott commented 9 years ago

Ah. Good catch. Thank you.