[plt-scheme] If With No Else and Other Changes

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Mon Feb 4 16:53:03 EST 2008

At Fri, 1 Feb 2008 10:53:46 +0000, Dave Gurnell wrote:
> There are also some differences between the structure subforms in  
> provide and provide/contract. If you provide a structure using provide/ 
> contract, you cannot re-provide it using provide and struct-out. For  
> example:
>    (module a scheme/base
>      (require scheme/contract)
>      (define-struct person (name) #:transparent)
>      (provide/contract (struct person ([name string?]))))
>    (module b scheme/base
>      (require (file "a.ss"))
>      (provide (struct-out person)))

This is fixed in SVN. It was a bug in the way that `struct-out' was
specified and implemented.


Posted on the users mailing list.