[plt-scheme] optional arguments in function contracts

From: Noel Welsh (noelwelsh at gmail.com)
Date: Fri Jun 27 06:14:17 EDT 2008

You want the ->* contract form.

Something like

  (->* (email?) (output-port?) any)

should work.

N.

On Fri, Jun 27, 2008 at 10:52 AM, Stephen De Gabrielle
<spdegabrielle at gmail.com> wrote:
> HI,
>
> I'm trying to do a contract with an optional argument, but I'm stuck


Posted on the users mailing list.