[plt-dev] Re: [plt-scheme] Call for Participation: Writing Typed Scheme wrapper modules

From: Sam TH (samth at ccs.neu.edu)
Date: Tue Feb 24 18:20:14 EST 2009

On Tue, Feb 24, 2009 at 5:27 PM, YC <yinso.chen at gmail.com> wrote:
>
> ;;
> md5.ss
> ;; wrapper on
> file/md5
> #lang typed-scheme
> (require/typed file/md5
>                (md5 (Input-Port -> Bytes))
>                )
> (provide md5)

You should probably handle the case where the input is a Bytes as well.

Thanks,
-- 
sam th
samth at ccs.neu.edu


Posted on the dev mailing list.