From b78a1a8355999e0b6daebea5a4504ec93043a5cf Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Wed, 27 Jul 2011 07:51:55 +0100 Subject: [PATCH] remove abbreviations for `for/sum' and `for/product' --- collects/racket/private/for.rkt | 2 -- collects/scribblings/reference/for.scrbl | 6 ------ 2 files changed, 8 deletions(-) diff --git a/collects/racket/private/for.rkt b/collects/racket/private/for.rkt index 530a84c220..cdc1e951d9 100644 --- a/collects/racket/private/for.rkt +++ b/collects/racket/private/for.rkt @@ -22,9 +22,7 @@ for/first for*/first for/last for*/last for/sum for*/sum - (rename for/sum Σ) (rename for*/sum Σ*) for/product for*/product - (rename for/product ∏) (rename for*/product ∏*) for/hash for*/hash for/hasheq for*/hasheq for/hasheqv for*/hasheqv diff --git a/collects/scribblings/reference/for.scrbl b/collects/scribblings/reference/for.scrbl index 5f824c7425..6ef3e7057e 100644 --- a/collects/scribblings/reference/for.scrbl +++ b/collects/scribblings/reference/for.scrbl @@ -163,7 +163,6 @@ result of the @racket[for/or] expression is @deftogether[( @defform[(for/sum (for-clause ...) body ...+)] -@defform[(Σ (for-clause ...) body ...+)] )]{ Iterates like @racket[for], but each result of the last @racket[body] @@ -171,13 +170,11 @@ is accumulated into a result with @racket[+]. @examples[ (for/sum ([i '(1 2 3 4)]) i) -(Σ ([i (in-range 100)]) i) ]} @deftogether[( @defform[(for/product (for-clause ...) body ...+)] -@defform[(∏ (for-clause ...) body ...+)] )]{ Iterates like @racket[for], but each result of the last @racket[body] @@ -185,7 +182,6 @@ is accumulated into a result with @racket[*]. @examples[ (for/product ([i '(1 2 3 4)]) i) -(∏ ([i (in-range 1 5)]) i) ]} @@ -268,9 +264,7 @@ nested. @defform[(for*/and (for-clause ...) body ...+)] @defform[(for*/or (for-clause ...) body ...+)] @defform[(for*/sum (for-clause ...) body ...+)] -@defform[(Σ* (for-clause ...) body ...+)] @defform[(for*/product (for-clause ...) body ...+)] -@defform[(∏* (for-clause ...) body ...+)] @defform[(for*/first (for-clause ...) body ...+)] @defform[(for*/last (for-clause ...) body ...+)] @defform[(for*/fold ([accum-id init-expr] ...) (for-clause ...) body ...+)]