www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

define-scoped-transformers.scrbl (482B)


      1 #lang scribble/manual
      2 @(require "doc-util.rkt")
      3 
      4 @title{Lens Scoped Syntax Transformers - Definition Form}
      5 
      6 Syntax definition forms built on @racket[with-scoped-pre-transformer]
      7 and friends.
      8 
      9 @defform[(define-syntax-with-scoped-pre-transformers id
     10            ([stx-lens pre-transformer] ...)
     11            transformer-expr)]{
     12  Binds @racket[id] as a syntax transformer that is equivalent to
     13  @racket[(with-scoped-pre-transformers transformer-expr ([stx-lens pre-transformer] ...))].
     14 }