www

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

compat.scrbl (967B)


      1 #lang scribble/manual
      2 @require[racket/require
      3          "utils.rkt"
      4          @for-label[phc-toolkit/compat]]
      5 @title{Compatibility wrappers}
      6 @author{@author+email["Suzanne Soy" "racket@suzanne.soy"]}
      7 @defmodule[phc-toolkit/compat
      8            #:use-sources
      9            [(submod (lib "phc-toolkit/compat.rkt") typed)]]
     10 
     11 @defproc[(record-disappeared-uses* [ids : (U Identifier (Listof Identifier))])
     12          Any]{
     13  On Racket 6.5, @racket[record-disappeared-uses] only accepted a list
     14  of identifiers, not a single identifier on its own. This wrapper allows
     15  passing a single identifier on Racket 6.5 too.}
     16 
     17 @defform[(with-disappeared-uses* . body)]{
     18  On Racket 6.5, @racket[with-disappeared-uses] allowed a single body
     19  expression. This wrapper wraps the @racket[body] expressions with a
     20  @racket[let] form, so that multiple expressions and definitions can be used as
     21  the body of @racket[with-disappeared-uses*] on Racket 6.5 too.}
     22 
     23 @include-section{compat-untyped.scrbl}