[racket-dev] syntax/stx vs racket/private/stx

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Mon May 16 08:14:46 EDT 2011

At Fri, 13 May 2011 17:38:41 -0400, Sam Tobin-Hochstadt wrote:
> The `syntax/stx' and `racket/private/stx' libraries contain a bunch of
> duplication.  In particular, the following functions seem identical:
> `stx-null?' `stx-list?' `stx->list' `stx-pair?' `stx-car' `stx-cdr'.
> 
> Is there any reason not to just have `syntax/stx' reprovide them,
> instead of defining duplicate versions?

Seems fine to me. (Originally, the code in `racket/private/stx' wasn't
really accessible from `syntax/stx'.)



Posted on the dev mailing list.