Fix opt-lambda:. Merge to 5.0.2.

(cherry picked from commit a15236ea4f)
This commit is contained in:
Vincent St-Amour 2010-10-20 14:31:52 -04:00 committed by Ryan Culpepper
parent c8b04e77b2
commit 3b23f24715
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,9 @@
#lang typed/racket
(: opt (case-lambda ( -> Void)
(Integer -> Void)))
(define opt
(opt-lambda: ((n : Integer 0))
(display n)))
(opt)
(opt 1)

View File

@ -34,6 +34,7 @@ This file defines two sorts of primitives. All of them are provided into any mod
"base-types.rkt"
"base-types-extra.rkt"
racket/flonum ; for for/flvector and for*/flvector
mzlib/etc
(for-syntax
syntax/parse
syntax/private/util