www

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

aliases.scrbl (1205B)


      1 #lang scribble/manual
      2 @require["utils.rkt"
      3          @for-label[phc-toolkit/aliases
      4                     racket/base
      5                     (only-in racket ... compose)
      6                     racket/match
      7                     syntax/parse]]
      8 @(def-orig orig [racket/syntax]
      9    generate-temporary)
     10 
     11 @title{Aliases for other racket identifiers}
     12 @author{@author+email["Suzanne Soy" "racket@suzanne.soy"]}
     13 @defmodule[phc-toolkit/aliases
     14            #:use-sources
     15            [phc-toolkit/aliases]]
     16 
     17 @defidform[∘]{An alias for @racket[compose]}
     18 @defidform[…]{An alias for @racket[...]}
     19 @defidform[…+]{An alias for @racket[...+]}
     20 @defidform[match-λ]{An alias for @racket[match-lambda]}
     21 @defidform[match-λ*]{An alias for @racket[match-lambda*]}
     22 @defidform[match-λ**]{An alias for @racket[match-lambda**]}
     23 @defidform[generate-temporary]{Typed version of @orig:generate-temporary}
     24 @defidform[attr]{An alias for @racket[attribute] which also works for plain
     25  syntax pattern variables}
     26 @defidform[|@|]{An alias for @racket[attribute] which also works for plain
     27  syntax pattern variables}
     28 @defform[(when-attr name expr)]{
     29  Equivalent to @racket[(if (attribute name) expr #'())]}
     30 
     31 @include-section{aliases-untyped.scrbl}