Fix opt-lambda:. Merge to 5.0.2.
This commit is contained in:
parent
c5c6c1c9e6
commit
a15236ea4f
9
collects/tests/typed-scheme/succeed/opt-lambda.rkt
Normal file
9
collects/tests/typed-scheme/succeed/opt-lambda.rkt
Normal 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)
|
|
@ -34,6 +34,7 @@ This file defines two sorts of primitives. All of them are provided into any mod
|
||||||
"base-types.rkt"
|
"base-types.rkt"
|
||||||
"base-types-extra.rkt"
|
"base-types-extra.rkt"
|
||||||
racket/flonum ; for for/flvector and for*/flvector
|
racket/flonum ; for for/flvector and for*/flvector
|
||||||
|
mzlib/etc
|
||||||
(for-syntax
|
(for-syntax
|
||||||
syntax/parse
|
syntax/parse
|
||||||
syntax/private/util
|
syntax/private/util
|
||||||
|
|
Loading…
Reference in New Issue
Block a user