Re: [racket-users] #%plain-app prints as #%app, hindering debugging

2016-09-28 Thread Alexis King
The #%plain-app identifier is just a renamed version of #%app from '#%kernel, so it’s actually named #%app when initially defined. The racket/base version of #%app exists to handle keyword arguments, so racket/base exports the underlying version of #%app as #%plain-app. Of course, fully expanded

[racket-users] #%plain-app prints as #%app, hindering debugging

2016-09-28 Thread 'William J. Bowman' via Racket Users
Consider the following program: #lang racket (require (for-syntax syntax/parse)) (define (Type x) x) (begin-for-syntax (define x (local-expand #`(Type 1) 'expression null)) (displayln x) (displayln (syntax-parse x #:literals (Type #%app #%plain-app)